[jboss-dev-forums] [JBoss ESB Development] - How to control message in/out of a service ?

lee du do-not-reply at jboss.com
Sun Oct 14 04:01:02 EDT 2012


lee du [https://community.jboss.org/people/dulee] created the discussion

"How to control message in/out of a service ?"

To view the discussion, visit: https://community.jboss.org/message/764685#764685

--------------------------------------------------------------
*Hi everyone,*

*I'm using jbossesb 4.10. I want to log the message in/out of a service to database.*
+*As below ex:*+ 
*     My actions chain has 3 actions but I want to log the message IN the first action & message OUT of the last action in action pipeline.* 
*     I'm thinking about custom listener...to do this. Does any one know the best solution ?  Please tell me ! Thanks,*

<service category="cat" description="" name="myService">
   <listeners>
    <http-gateway busidref="HttpChannel" name="myGw" payloadAs="STRING" urlPattern="/XXXXX/*"/>
    <jms-listener busidref="EsbChannel" is-gateway="false" name="myListener"/>
   </listeners>
   <actions mep="RequestResponse">
    <action class="com.XXX.esb.actions.MyAction"  name="Action1" process="processAction1"/>
    <action class="com.XXX.esb.actions.MyAction"  name="Action2" process="processAction2"/>
    <action class="com.XXX.esb.actions.MyAction"  name="Action3" process="processAction3"/>
   </actions>
  </service>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/764685#764685]

Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121014/6c464518/attachment.html 


More information about the jboss-dev-forums mailing list