tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <>
Subject jms configuration default jms resource adaptor ActiveMQ into tomee
Date Wed, 08 Jun 2016 14:25:50 GMT
i would use the default configuration for jms .
i read from activeMQ web site:

* <>* 
Configuring an Embedded Broker

If no broker is configured and JMS is used in the webapp, TomEE will create
a broker equivalent to the following declaration:

    <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
       * BrokerXmlConfig =  broker:(tcp://someHostName:61616)*
        ServerUrl       =  vm://localhost
    <Resource id="MyJmsConnectionFactory"
        ResourceAdapter = MyJmsResourceAdapter

This creates an ActiveMQ Broker that runs inside TomEE and is bound to the
address *someHostName:61616*. This broker will start when TomEE starts and
shutdown when TomEE shuts down. All JMS communication happening inside TomEE
itself will happen using the embedded ActiveMQ Broker over the ActiveMQ "vm"
transport which is optimized for sending and receiving messages when in the
same JVM as the Broker.


but i ask:
*1)*  the         BrokerXmlConfig =  broker:(tcp://someHostName:61616)

how it is interpreted? 
How it can work? the dns for the value  someHostName not esixt .
or i have to put  BrokerXmlConfig =  broker:(tcp://localhost:61616) ????

*2) *where is configurated the default resorceadaptor into tomee ?
Programmatically or into what xml file?

do you have the java source where the default jmsresourceadapter is created?

tank you MAuro

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message