[jboss-dev-forums] [JBoss ESB Development] - Parse Messages between Actions
Phillip Schulte
do-not-reply at jboss.com
Thu Sep 23 04:42:11 EDT 2010
Phillip Schulte [http://community.jboss.org/people/phillip.schulte] created the discussion
"Parse Messages between Actions"
To view the discussion, visit: http://community.jboss.org/message/563239#563239
--------------------------------------------------------------
Hey Guys.
I am pretty new to JBossESB, so please be kind! :)
My basic question is, how do I parse messages through actions not using org.jboss.soa.esb.message.defaultEntry as the key?
So I tried using
<action class="org.jboss.soa.esb.smooks.SmooksAction" name="desadv2ObjShipment">
<property name="smooksConfig" value="META-INF/smooks-desadv-import.xml" />
<property name="resultType" value="JAVA" />
<property name="reportPath" value="/tmp/garuda/report-in.html" />
<property name="javaResultBeanId" value="objShipment" />
<property name="set-payload-location" value="get-order-response" />
</action>
<action class="org.jboss.soa.esb.smooks.SmooksAction" name="desadv2ObjShipment">
<property name="smooksConfig" value="META-INF/smooks-desadv-import.xml" />
<property name="resultType" value="JAVA" />
<property name="reportPath" value="/tmp/garuda/report-in.html" />
<property name="javaResultBeanId" value="objShipment" />
*<property name="set-payload-location" value="get-order-response" />*
</action>
My next actions is like this
<action class="org.jboss.soa.esb.actions.EJBProcessor" name="callPersist">
<property name="ejb3" value="true" />
<property name="jndi-name" value="garuda-core/ObjShipmentManagerBean/remote-de.eskalon.kn.garuda.api.ObjShipmentManager" />
<property name="initial-context-factory" value="org.jnp.interfaces.NamingContextFactory" />
<property name="provider-url" value="localhost:1099" />
<property name="method" value="persistObjShipment" />
<property name="ejb-params">
*<arg0 type="de.eskalon.kn.garuda.database.domain.ObjShipment">org.jboss.soa.esb.message.get-order-response</arg0>*
</property>
</action>
But that just doesn't work! Anyone knows what I am doing wrong?
Thanks for your help!
Best regards
Phillip Schulte
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/563239#563239]
Start a new discussion in JBoss ESB Development at Community
[http://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/20100923/32ebdc03/attachment.html
More information about the jboss-dev-forums
mailing list