smart proxy pattern with out using custom service

Posted by sk185050 on 28-May-2010 03:19

hi all,

Would like to disucss if we can use the smart proxy pattern with out implementing the custom service?

In my case I want to log the response of the requests(that case from n number of users/applications), I want to use the smart proxy where in I am looking to alter the JMSReplyTo and when I get the response I re-allocate the response topic/queue that requester sent.

All Replies

Posted by Bill Wood on 28-May-2010 06:49

By Smart Proxy, I assume you mean the one in enterprise integration patterns (http://www.eaipatterns.com/SmartProxy.html).

Frankly, all itineraries act like this directly -- the called service can be in an itenerarhy.  You can log, and when the itinerary exits you'd go back to the original requestor's ReplyTo.   That is, you don't need the explicit SmartProxy service as this is built into the ESB Process directly.

If you wanted an explicit step to store the original replyto and then return the message, then you could simply use the Dispatch Service for this.  That should work fine.

This thread is closed