tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jean-louis.monte...@atosorigin.com>
Subject Re: MDB to listen to Tibco JMS
Date Wed, 08 Jul 2009 20:46:04 GMT

Hi,

AFAIK, Active MQ is used both:
- server (optional): used when you want to start an embedded broker
- client: Active MQ is used to connect to a broker (ActiveMQ, MQSeries,
TibcoRV, ...)

So a configuration like the following should work.

 <Resource id="MyActiveMQResourceAdapter" provider="Default JMS Resource
Adapter">
    # Broker configuration URI as defined by ActiveMQ
    # see http://activemq.apache.org/broker-configuration-uri.html
    # We can leave it empty because we don't want to start an embedded
ActiveMQ broker
    BrokerXmlConfig

    # Broker address
    # It must point to your Tibco broker
    ServerUrl tcp://<host>:<port>

    # Specifies the size of the thread pool available to ActiveMQ.
    ThreadPoolSize 30
  </Resource>

Jean-Louis


DimasOwl wrote:
> 
> Documentation is quite poor
> http://openejb.apache.org/3.0/mdb-container.html
> It describes only default settings for ActiveMQ.
> Is it possible to listen to topic on external JMS server (Tibco)
> 
> Any sample would be extremely helpful!
> 

-- 
View this message in context: http://www.nabble.com/MDB-to-listen-to-Tibco-JMS-tp24369433p24399019.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message