camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [5/5] camel git commit: CAMEL-8711: Expose JMS session to Camel Message so end users can access it and use it for client ack mode etc.
Date Wed, 06 May 2015 10:37:46 GMT
CAMEL-8711: Expose JMS session to Camel Message so end users can access it and use it for client
ack mode etc.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e319c9e0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e319c9e0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e319c9e0

Branch: refs/heads/master
Commit: e319c9e08cce71e7757f112f9fcb9ce9583da817
Parents: 7302e8f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed May 6 12:41:12 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed May 6 12:41:12 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/jms/JmsMessage.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e319c9e0/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
index 964cebe..c75cdde 100644
--- a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
+++ b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsMessage.java
@@ -136,7 +136,10 @@ public class JmsMessage extends DefaultMessage {
     }
 
     /**
-     * Returns the underlying JMS session
+     * Returns the underlying JMS session.
+     * <p/>
+     * This may be <tt>null</tt> if using {@link org.apache.camel.component.jms.JmsPollingConsumer},
+     * or the broker component from Apache ActiveMQ 5.11.x or older.
      */
     public Session getJmsSession() {
         return jmsSession;


Mime
View raw message