Re: Embedded ActiveMQ configuration

2010-04-26 Thread sebge2
What's the dependencies of the retrying policy ? I'm only declaring the broker service bean, must it work like that or further configuration is needed ? I've put in attachment my current configuration of my broker. Have I missed something ? http://old.nabble.com/file/p28367104/brokerService.txt br

Re: Embedded ActiveMQ configuration

2010-04-16 Thread Gary Tully
start by doing a diff between both config files, the policy entries should be the same in both and they are not. it looks correct in the non embedded version. On 16 April 2010 13:30, sebge2 wrote: > > what are the beans you are talking about ? I've check that only one > instance > is running. >

Re: Embedded ActiveMQ configuration

2010-04-16 Thread sebge2
what are the beans you are talking about ? I've check that only one instance is running. In the following log, the execution of my broker: http://old.nabble.com/file/p28266311/activemq.log activemq.log . In that log we can see that the message is finally redirected to queue://ActiveMQ.DLQ, and

Re: Embedded ActiveMQ configuration

2010-04-16 Thread Gary Tully
Ensure that you are not creating two brokers. Check the log output. Order of initialisation of your beans is important, you may want to declare some dependencies or you can explicity disable embedded broker creation in the vm url used by your connection factory with: vm://broker?create=false&waitF