in activemq.xml file, if then you want to lookup a tomee datasource it
will work but the reference is resolved against the xml file only.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-01-31 Leonardo K. Shikida <[email protected]>:
> yes, but activemq let me define a data source for jdbc
>
> this data source can still be declared in tomee.xml or should I declare it
> somewhere else?
>
> []
>
> Leo
>
>
> On Fri, Jan 31, 2014 at 6:33 AM, Andy <[email protected]>wrote:
>
>> On 30.01.2014 22:59, Leonardo K. Shikida wrote:
>>
>>> is it better with xbeans?
>>>
>>> []
>>>
>>> Leo
>>>
>> The default TomEE ActiveMQ configuration using BrokerXmlConfig =
>> broker:(tcp://someHostName:61616) is quite rudimentary, but more than
>> adequate for MDB usage.  Using the xbean syntax gives you complete control
>> over the ActiveMQ configuration, but it is therefore much more advanced and
>> requires a deep understanding of the ActiveMQ options.
>>
>> BrokerXmlConfig = xbean:file:conf/activemq.xml - Check out here...
>>
>> http://tomee.apache.org/jms-resources-and-mdb-container.html
>> ("Internal ActiveMQ Broker with activemq.xml")
>>
>> And here...
>>
>> http://activemq.apache.org/xml-configuration.html
>>
>> Exposing advanced ActiveMQ configuration directly through the TomEE
>> resource adapter would be a costly exercise, and is IMHO a waste of time
>> and effort when the xbean:file provides this feature.
>>
>> Andy.
>>
>>

Reply via email to