Author: clebert.suconic(a)jboss.com
Date: 2011-12-05 17:58:28 -0500 (Mon, 05 Dec 2011)
New Revision: 11843
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/inflow/HornetQActivation.java
Log:
JBPAPP-7329 - adding meta-data on MDBs
Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/ra/inflow/HornetQActivation.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/inflow/HornetQActivation.java 2011-12-05
21:19:58 UTC (rev 11842)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/ra/inflow/HornetQActivation.java 2011-12-05
22:58:28 UTC (rev 11843)
@@ -368,6 +368,13 @@
spec.isUseLocalTx(),
spec.getTransactionTimeout());
+ result.addMetaData("resource-adapter", "inbound");
+ result.addMetaData("jms-session", "");
+ if (spec.getClientID() != null)
+ {
+ result.addMetaData("jms-client-id", spec.getClientID());
+ }
+
HornetQActivation.log.debug("Using queue connection " + result);
return result;