Ranajit Jana [
https://community.jboss.org/people/ranajitjana] created the discussion
"Re: Message Retry Not working"
To view the discussion, visit:
https://community.jboss.org/message/802377#802377
--------------------------------------------------------------
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"/> |
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/802377#802377]
Start a new discussion in JBoss Messaging at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]