activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r376041 - in /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms: DestinationBridge.java QueueBridge.java TopicBridge.java
Date Wed, 08 Feb 2006 20:13:35 GMT
Author: rajdavies
Date: Wed Feb  8 12:13:33 2006
New Revision: 376041

URL: http://svn.apache.org/viewcvs?rev=376041&view=rev
Log:
updated for compilation errors for some java platforms

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/DestinationBridge.java
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/QueueBridge.java
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/TopicBridge.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/DestinationBridge.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/DestinationBridge.java?rev=376041&r1=376040&r2=376041&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/DestinationBridge.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/DestinationBridge.java
Wed Feb  8 12:13:33 2006
@@ -79,7 +79,7 @@
 
    
     protected Destination processReplyToDestination (Destination destination){
-        return jmsConnector.createReplyToBridge(destination, getConsumerConnection(), getProducerConnection());
+        return jmsConnector.createReplyToBridge(destination, getConnnectionForConsumer(),
getConnectionForProducer());
     }
     
     public void start() throws Exception{
@@ -140,9 +140,9 @@
 
     protected abstract void sendMessage(Message message) throws JMSException;
 
-    protected abstract Connection getConsumerConnection();
+    protected abstract Connection getConnnectionForConsumer();
     
-    protected abstract Connection getProducerConnection();
+    protected abstract Connection getConnectionForProducer();
 
     
 }

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/QueueBridge.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/QueueBridge.java?rev=376041&r1=376040&r2=376041&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/QueueBridge.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/QueueBridge.java
Wed Feb  8 12:13:33 2006
@@ -16,6 +16,7 @@
  */
 package org.apache.activemq.network.jms;
 
+import javax.jms.Connection;
 import javax.jms.Destination;
 import javax.jms.JMSException;
 import javax.jms.Message;
@@ -151,6 +152,14 @@
      */
     public void setSelector(String selector){
         this.selector=selector;
+    }
+    
+    protected Connection getConnnectionForConsumer(){
+        return getConsumerConnection();
+    }
+    
+    protected Connection getConnectionForProducer(){
+        return getProducerConnection();
     }
     
   

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/TopicBridge.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/TopicBridge.java?rev=376041&r1=376040&r2=376041&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/TopicBridge.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/network/jms/TopicBridge.java
Wed Feb  8 12:13:33 2006
@@ -16,6 +16,7 @@
  */
 package org.apache.activemq.network.jms;
 
+import javax.jms.Connection;
 import javax.jms.Destination;
 import javax.jms.JMSException;
 import javax.jms.Message;
@@ -175,5 +176,13 @@
      */
     public void setSelector(String selector){
         this.selector=selector;
+    }
+    
+    protected Connection getConnnectionForConsumer(){
+        return getConsumerConnection();
+    }
+    
+    protected Connection getConnectionForProducer(){
+        return getProducerConnection();
     }
 }



Mime
View raw message