This content has been marked as final.
Show 2 replies
-
1. Possible to pass primitive parameters to org.jboss.soa.esb.actions.EJBProcessor?
boy18nj Mar 25, 2011 8:36 PM (in response to boy18nj)looking into source class, it seems impossible. BTW it is a such a basic requirement which is excluded.
-
2. Possible to pass primitive parameters to org.jboss.soa.esb.actions.EJBProcessor?
boy18nj Mar 26, 2011 12:44 AM (in response to boy18nj)I was able to solve my issue by using Boolean class instead of primitive boolean. And also followig change-
Add to the message body, the object useFlag which has value true.
<property name="ejb-params">
<arg0 type="java.lang.String">usename</arg0>
<arg1 type="java.lang.Boolean">useFlag</arg1>
</property>
If you like below, ESB would assume the boolean value as NULL.
<property name="ejb-params">
<arg0 type="java.lang.String">usename</arg0>
<arg1 type="java.lang.Boolean">true</arg1>
</property>