tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Activate JMS persistence on TomEE
Date Fri, 04 Nov 2011 16:47:41 GMT
you shouldn't use both xml config and server url. Just one is enough.

brokerxmlconfig is a activemq xml or properties config file path not an uri.

you can redirect your question to activemq mailing too

- Romain


2011/11/4 seb55555 <s.claude@aaa-data.fr>

> I tried with
>                BrokerXmlConfig =
> broker:(tcp://localhost:61616)?useJmx=false
>                ServerUrl =
> vm://localhost?broker.persistent=true&amp;async=true
>                DataSource My Unmanaged DataSource
>
> But this doesn't seem to work (no activemq-data file created)
>
> Then i tried with
>                BrokerXmlConfig = broker:(tcp://0.0.0.0:61616)?useJmx=false
>                ServerUrl = vm://
> 0.0.0.0?broker.persistent=true&amp;async=true
>                DataSource = My Unmanaged DataSource
>
> It create activemq-data (kahadb) dir.
> But :
> 1- Message are not reveive by subscriber anymore
> 2- It doesn't use the datasource "My Unmanaged DataSource" but kahadb
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Activate-JMS-persistence-on-TomEE-tp3990276p3990713.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message