0 Replies Latest reply on Dec 2, 2013 4:31 PM by David Raines

    EJBProcessor and hardcoded provider-url

    David Raines Newbie

      I'm using the action "org.jboss.soa.esb.actions.EJBProcessor".  Is it possible to configure this in such a way that you don't hardcode the "provider-url" in the jboss-esb.xml file?  The issue is that that xml file is deployed in a .esb file, and there's no direct way to change the "provider-url" when we're deploying to a test or production environment.  Is there (for instance) a way to specify that in a .properties file instead?


      We have it set to <property name="provider-url" value="localhost:1299" /> in our development environment, but we need more flexibility


      In every example I've seen, you have to specify all the configurations for it in the jboss-exb.xml file, like this:


      <action name="ValidationTableGetRowCount" class="org.jboss.soa.esb.actions.EJBProcessor">

           <property name="ejb3" value="true" />

           <property name="method" value="getCountOftems" />

           <property name="jndi-name" value="TestProxyBean" />

           <property name="initial-context-factory" value="org.jnp.interfaces.NamingContextFactory" />

           <property name="provider-url" value="localhost:1299" />

           <property name="ejb-params">


                <!-- edited out of example for space... -->



           <property name="esb-out-var" value="org.jboss.soa.esb.message.defaultEntry"/>