spring jms config for activemq
Here are some configuration hints for spring jms. This is backed by activemq jms provider.
A few comments:
Here are some configuration hints for spring jms. This is backed by activemq jms provider.
A few comments:
This was a pain to set up. But here are a few hints for non-transactional configurations.
A few notes about this setup:
The code examples on the ActiveMQ and Spring JMS sites use a straightforward jmsTemplate.receive() call. I found this to be very unstable. It would frequently leave orphaned messages in a queue that would never be picked up.
I moved to a DefaultMessageListenerContainer.java and most of my problems were solved. Here’s a sample code:
Powered by WordPress