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&...]