[jboss-dev-forums] [JBoss ESB Development] - How to conditionally execute an action

Heena Chhabra do-not-reply at jboss.com
Thu Oct 4 01:03:43 EDT 2012


Heena Chhabra [https://community.jboss.org/people/heenac] created the discussion

"How to conditionally execute an action"

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

--------------------------------------------------------------
Hi,

Is there a way in JBoss ESB so that an action can be conditionally executed.

My requirement is to conditionally transform an XML if the incoming XML has an attribute resubmitmode with tag value as true. Is there any way to do this with SmooksAction. I want to avoid the transformation if the tag value is false.

<p:resubmitMode>true</p:resubmitMode>

I did a lot of R&D but could not get this working. One alternative taht came to mind was to add a transformation/XSLT rule but not sure if that would work

I am using JBOSS SOA Enterprise platform 5.3 and ESB 4.11

Kindly help

Thanks
Heena
--------------------------------------------------------------

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

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/20121004/4c3491f8/attachment.html 


More information about the jboss-dev-forums mailing list