-
1. Re: Message Retry Not working
ranajitjana Mar 13, 2013 10:33 AM (in response to ranajitjana)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"/> -
2. Re: Message Retry Not working
ranajitjana Mar 13, 2013 12:19 PM (in response to ranajitjana)Strange thing is deadLetter queue attribute "messages added " is showing continuous increase eventhough nothing is pumped in any queue. The attribute "Message in the Queue" for the deadLetterQueue is still 0.
Dequeued messages are null messaged and when printed shows HornetQMessage[null]:PERSISTENT