Author |
Message
|
camauz |
Posted: Mon Jul 16, 2012 5:59 am Post subject: MDB and EAP 6 (JBoss 7) without annotations? |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
|
Back to top |
|
 |
camauz |
Posted: Mon Jul 16, 2012 6:46 am Post subject: |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 16, 2012 6:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Set it up as a foreign JMS with a file based JNDI provider... _________________ MQ & Broker admin |
|
Back to top |
|
 |
camauz |
Posted: Tue Jul 17, 2012 2:17 am Post subject: |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
fjb_saper wrote: |
Set it up as a foreign JMS with a file based JNDI provider... |
Could you point me to some specific documentation? I was not able to find how I could configure a WSMQ MDB to point a specific (file based) JNDI.
Thanks in advance
Ch. |
|
Back to top |
|
 |
camauz |
Posted: Tue Jul 17, 2012 5:44 am Post subject: |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
This interesting thread https://community.jboss.org/message/715738 asserts:
To my knowledge, there is no way to force the MDB to use activation configuration parameters which are somehow populated from standalone.xml. Remember, the MDB uses the IBM WebSphereMQ JCA RA which knows nothing about JBoss AS implementation details. It simply uses JCA, and the only standard ways to set activation configuration properties for an MDB are with annotations or ejb-jar.xml.
(ejb-jar.xml, in some environments, does have the same drawbacks of the annotations because it's versioned in the same way of the source code)
fjb_saper wrote: |
Set it up as a foreign JMS with a file based JNDI provider... |
Do you think there is a different, WebSphere MQ specific way, to pick-up the configuration from a file based JNDI provider?
Thanks in advance
Ch. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 18, 2012 7:53 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
camauz |
Posted: Wed Jul 18, 2012 10:38 pm Post subject: |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
Thanks!
We will try it and I will report the results.
Ch. |
|
Back to top |
|
 |
camauz |
Posted: Mon Aug 27, 2012 7:22 am Post subject: |
|
|
 Acolyte
Joined: 20 Aug 2007 Posts: 52 Location: Mojan, Italy
|
|
Back to top |
|
 |
|