2 Replies Latest reply on Mar 26, 2011 12:44 AM by Rocky S

    Possible to pass primitive parameters to org.jboss.soa.esb.actions.EJBProcessor?

    Rocky S Master

      We are using JBoss ESB 4.3, is it possible to pass primitive variables to org.jboss.soa.esb.actions.EJBProcessor, how?


      I know i can try another technique like creating a custom class and have an boolean as its property. But M looking for simple solution without creating a class.


      <property name="ejb-params">

            <arg0 type="java.lang.String">username</arg0>

            <arg1 type="java.lang.Boolean">true</arg1>




      My method is like this-


      public void demo(String value, boolean value){



      So above technique of passing parameters won't work, I need something like this-


      <property name="ejb-params">

            <arg0 type="java.lang.String">usename</arg0>

            <arg1 type="boolean">true</arg1>



      This doesn't works because it is looking for class named boolean.