0 Replies Latest reply on May 13, 2011 8:52 AM by pushpak1981

    Java activity ejb jndi name

    pushpak1981 Novice

      I have one query regarding jBPM Java activity. It supports ejb-jndi-name attribute. Is it possible to put an expression into the jpdl file in place of actual ejb name. I will be setting this ejb jndi name at runtime into a variable while starting the business process.

       

       

      <java name="test" ejb-jndi-name="#{ejbname}" method="add" var="answer">
          <arg><int value="25"/></arg>
          <arg><int value="38"/></arg>
          <transition to="wait" />
      </java>

       

      I tried doing this but i faced an error (#{ejbname} not bound). Is there any way by which i can achieve this.

       

      Thanks.