JBoss Community

Java activity ejb jndi name

created by Tony D in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community