org.apache.activemq.transport.amqp
Class AmqpTransportFilter
java.lang.Object
org.apache.activemq.transport.TransportFilter
org.apache.activemq.transport.amqp.AmqpTransportFilter
- All Implemented Interfaces:
- Service, AmqpTransport, Transport, TransportListener
public class AmqpTransportFilter
- extends TransportFilter
- implements AmqpTransport
The AMQPTransportFilter normally sits on top of a TcpTransport that has been
configured with the AmqpWireFormat and is used to convert AMQP commands to
ActiveMQ commands. All of the conversion work is done by delegating to the
AMQPProtocolConverter
| Methods inherited from class org.apache.activemq.transport.TransportFilter |
asyncRequest, getNext, getReceiveCounter, getRemoteAddress, getTransportListener, isConnected, isDisposed, isFaultTolerant, isReconnectSupported, isUpdateURIsSupported, narrow, reconnect, request, request, setTransportListener, start, stop, toString, transportInterupted, transportResumed, updateURIs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AmqpTransportFilter
public AmqpTransportFilter(Transport next,
WireFormat wireFormat,
BrokerContext brokerContext)
oneway
public void oneway(java.lang.Object o)
throws java.io.IOException
- Specified by:
oneway in interface Transport- Overrides:
oneway in class TransportFilter
- Throws:
java.io.IOException
onException
public void onException(java.io.IOException error)
- Specified by:
onException in interface AmqpTransport- Specified by:
onException in interface TransportListener- Overrides:
onException in class TransportFilter
sendToActiveMQ
public void sendToActiveMQ(java.io.IOException error)
- Specified by:
sendToActiveMQ in interface AmqpTransport
onCommand
public void onCommand(java.lang.Object command)
- Specified by:
onCommand in interface TransportListener- Overrides:
onCommand in class TransportFilter
sendToActiveMQ
public void sendToActiveMQ(Command command)
- Specified by:
sendToActiveMQ in interface AmqpTransport
sendToAmqp
public void sendToAmqp(java.lang.Object command)
throws java.io.IOException
- Specified by:
sendToAmqp in interface AmqpTransport
- Throws:
java.io.IOException
getPeerCertificates
public java.security.cert.X509Certificate[] getPeerCertificates()
- Specified by:
getPeerCertificates in interface AmqpTransport
isTrace
public boolean isTrace()
- Specified by:
isTrace in interface AmqpTransport
setTrace
public void setTrace(boolean trace)
getWireFormat
public AmqpWireFormat getWireFormat()
- Specified by:
getWireFormat in interface AmqpTransport
handleException
public void handleException(java.io.IOException e)
getTransformer
public java.lang.String getTransformer()
- Specified by:
getTransformer in interface AmqpTransport
setTransformer
public void setTransformer(java.lang.String transformer)
Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.