activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hhfrancois (JIRA)" <>
Subject [jira] [Created] (AMQ-5528) Connection Factory Properties not effective for MDB
Date Tue, 20 Jan 2015 00:15:34 GMT
hhfrancois created AMQ-5528:

             Summary: Connection Factory Properties not effective for MDB
                 Key: AMQ-5528
             Project: ActiveMQ
          Issue Type: Bug
          Components: JCA Container
    Affects Versions: 5.10.0
         Environment: glassfish >= 3.1
project jee >=5
ear + ejb + mdb +servlet

            Reporter: hhfrancois

In glassfish deploy activemq-ra
create jms connectorFactory jms/testConnectionFactory
with property serverUrl = activemqUrl
create jms queue jms/testQueue
create sessionBean producer with injecteds resources jms/testConnectionFactory and testQueue.
create servlet for launch producer.
This works.
But now create MDB with  Activation Spec Properties
*destination = "jms/testQueue"*
*destinationType = "Queue"*
in glassfish-ejb-jar.xml configure the mdb 

the MDB doesnt work, I can't use the connectionFactory for MDB why ?
This technic works perfectly with openMQ but not with activeMQ
If I place the conguration on resource-adapter with  Resource Adapter Properties and define
in glassfish-ejb-jar.xml 

this works, but If I want to use 2 differents business activemq for 1 application, how I do
The solution is deploy 2 or more resource-adapter, but this is unstable and ugly. The logic
is I deploy 1 resource-adapter and configure separatly 2 connectionFactories/pools.
When I look sources of ra, I feel that the MDB doesn't use ra connectionFactory config in
glassfish. just adapter config and spec from MDB.

This message was sent by Atlassian JIRA

View raw message