RE: [+SPAM+]: Re: [+SPAM+]: Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-24 Thread COURTAULT Francois
Hello Romain, Sorry to come back to you ... Just want to have some confirmation. Previously, we have in our activemq.xml file, this stuff: I have looked at

RE: [+SPAM+]: Re: [+SPAM+]: Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread COURTAULT Francois
Hello Romain, Finally, with the following settings in tomee.xml: BrokerXmlConfig = broker:(tcp://localhost:61616)?useJmx=falsepersistent=false ServerUrl = vm://localhost In the logs I have: 23-Oct-2017 14:28:59.895 INFO [main]

Re: [+SPAM+]: Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread Romain Manni-Bucau
2017-10-23 12:17 GMT+02:00 COURTAULT Francois : > Hello Romain, > > Sorry to haven't found this by myself :-( > > In my application, I have an MDB and in the log, I am able to see: > 23-Oct-2017 11:36:02.079 INFO [localhost-startStop-1] >

RE: [+SPAM+]: Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread COURTAULT Francois
Hello Romain, Sorry to haven't found this by myself :-( In my application, I have an MDB and in the log, I am able to see: 23-Oct-2017 11:36:02.079 INFO [localhost-startStop-1] org.apache.openejb.config.InitEjbDeployments.deploy Auto-deploying ejb MyMDB: EjbDeployment(deployment-id=MyMDB)

Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread Romain Manni-Bucau
& = in xml ;) Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-10-23 10:34 GMT+02:00 COURTAULT Francois : > Hello Romain, > > Get it I think :-) > > In my tomee.xml file (which is empty), I have added: > > BrokerXmlConfig =

RE: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread COURTAULT Francois
Hello Romain, Get it I think :-) In my tomee.xml file (which is empty), I have added: BrokerXmlConfig = broker:(tcp://localhost:61616)?useJmx=false=false ServerUrl = vm://localhost But when I started TomEE, I got: 23-Oct-2017 10:25:02.708 INFO [main]

Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread Romain Manni-Bucau
in WEB-INF/lib it will not work but the previous url was for tomee.xml AMQ adapter and not related to any spring config Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-10-23 9:54 GMT+02:00 COURTAULT Francois : > Hello Romain, > >

RE: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread COURTAULT Francois
Hello Romain, Thanks for your answer but my question is more on how to achieve that without using some Spring/ActiveMQ libraries which customizes TomEE distro => requires to copy some jars in TomEE/lib folder. Another solution could be to have those jars inside our application (in

Re: How to setup ActiveMQ in TomEE to not use persistence for JMS ?

2017-10-23 Thread Romain Manni-Bucau
Hi Francois, you are right, you can set the broker url to: broker:(tcp://localhost:61616)?useJmx=false=false to disable the persistence and jmx (for instance) Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn 2017-10-23 9:30 GMT+02:00 COURTAULT Francois