updated for compilation errors for some java platforms

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376041 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-02-08 20:13:33 +00:00
parent 1b9c601975
commit ef0127d81c
3 changed files with 21 additions and 3 deletions

View File

@ -79,7 +79,7 @@ abstract class DestinationBridge implements Service,MessageListener{
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 @@ abstract class DestinationBridge implements Service,MessageListener{
protected abstract void sendMessage(Message message) throws JMSException;
protected abstract Connection getConsumerConnection();
protected abstract Connection getConnnectionForConsumer();
protected abstract Connection getProducerConnection();
protected abstract Connection getConnectionForProducer();
}

View File

@ -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;
@ -153,5 +154,13 @@ class QueueBridge extends DestinationBridge{
this.selector=selector;
}
protected Connection getConnnectionForConsumer(){
return getConsumerConnection();
}
protected Connection getConnectionForProducer(){
return getProducerConnection();
}
}

View File

@ -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;
@ -176,4 +177,12 @@ class TopicBridge extends DestinationBridge{
public void setSelector(String selector){
this.selector=selector;
}
protected Connection getConnnectionForConsumer(){
return getConsumerConnection();
}
protected Connection getConnectionForProducer(){
return getProducerConnection();
}
}