[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS
tom.baeyens@jboss.com
do-not-reply at jboss.com
Thu Oct 12 02:52:31 EDT 2006
"mteira" wrote : Sorry for triggering questions that fast. I will try to control myself and investigate a little more before asking.
|
please keep it up. your contributions are good. let me know if you want committer access. tom dot baeyens at jboss dot com
"mteira" wrote : I've copied jbpm.cfg.xml to the jbpm/jpdl/jar/src/main/config/jbpm.cfg.xml and changed the message service to use the JMS based one:
|
| <service name="message"
| | factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl" />
|
| Now, I'm getting NPE in JmsMessageServiceFactoryImpl openService. It happens at line 49:
|
| ConnectionFactory connectionFactory = (ConnectionFactory) initialContext.lookup(connectionFactoryJndiName);
|
| I see that the private member connectionFactoryJndiName is initialized to 'null' and there's no method to change it to another value. Is it injected from another place? Is there some code missing here?
|
try something like this:
<service name="message" factory="org.jbpm.msg.jms.JmsMessageServiceFactoryImpl">
| <field name="connectionFactoryJndiName"><string value="java:/XaConnectionFactory" /></field>
| </service>
although you need to replace the jndi name as i don't know it by heart.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977772#3977772
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977772
More information about the jboss-dev-forums
mailing list