Probably it has to do with the XA transaction. I am using
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
Will this factory be XA compliant ?
my standalone.xml has following entry
<bean id="jmsTemplate"
class="org.springframework.jms.core.JmsTemplate">
<property name="connectionFactory" ref="connectionFactory" />
</bean>
<bean id="sendSMS" | class="com.somecomp.project.jms.JmsQueueSender"> |
<property name="queue" ref="smsQueue" />
<property name="jmsTemplate" ref="jmsTemplate" />
</bean>
<bean id="smsmessageListener" class="org.springframework.jms.listener.adapter.MessageListenerAdapter">
<constructor-arg>
<bean id="smsSender" class="com.somecompany.project.jms.JMSListnerForSendingSMS">
</bean>
</constructor-arg>
</bean>
| <jee:jndi-lookup id="connectionFactory" jndi-name="java:/JmsXA"/> |