This content has been marked as final.
Show 2 replies
-
1. Re: JBR Listener synchronous property vs mep attribute
sanjoa Nov 25, 2008 1:10 AM (in response to sanjoa)oops, example got truncated.
i.e.<service category="cat" description="desc name="aservice"> <listeners> <jbr-listener busidref="jbr.service.http" is-gateway="true" maxThreads="1" name="jbr.service.listener"> <property name="synchronous" value="false"/> </jbr-listener> .. </listeners> <actions> ..
could be defined as:<service category="cat" description="desc name="aservice"> <listeners> <jbr-listener busidref="jbr.service.http" is-gateway="true" maxThreads="1" name="jbr.service.listener"> </jbr-listener> .. </listeners> <actions mep="OneWay"> ..
-
2. Re: JBR Listener synchronous property vs mep attribute
kconner Nov 25, 2008 6:36 AM (in response to sanjoa)The mep determines how the service behaves whereas the synchronous parameter determines how the gateway behaves as a client.
It is possible for responses to be returned from other services or business processes working asynchronously from the original target service.
The following provides a generic example of using asynchronous communications to achieve request/response behaviour.
http://www.jboss.org/community/docs/DOC-9105