org.apache.activemq.transport.amqp
Class AmqpTransportFilter
java.lang.Object
org.apache.activemq.transport.TransportFilter
org.apache.activemq.transport.amqp.AmqpTransportFilter
- All Implemented Interfaces:
- org.apache.activemq.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 StompWireFormat 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 |
AmqpTransportFilter
public AmqpTransportFilter(Transport next,
org.apache.activemq.wireformat.WireFormat wireFormat,
BrokerContext brokerContext)
oneway
public void oneway(Object o)
throws IOException
- Specified by:
oneway in interface Transport- Overrides:
oneway in class TransportFilter
- Throws:
IOException
onException
public void onException(IOException error)
- Specified by:
onException in interface AmqpTransport- Specified by:
onException in interface TransportListener- Overrides:
onException in class TransportFilter
sendToActiveMQ
public void sendToActiveMQ(IOException error)
- Specified by:
sendToActiveMQ in interface AmqpTransport
onCommand
public void onCommand(Object command)
- Specified by:
onCommand in interface TransportListener- Overrides:
onCommand in class TransportFilter
sendToActiveMQ
public void sendToActiveMQ(org.apache.activemq.command.Command command)
- Specified by:
sendToActiveMQ in interface AmqpTransport
sendToAmqp
public void sendToAmqp(Object command)
throws IOException
- Specified by:
sendToAmqp in interface AmqpTransport
- Throws:
IOException
getPeerCertificates
public 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(IOException e)
getTransformer
public String getTransformer()
- Specified by:
getTransformer in interface AmqpTransport
setTransformer
public void setTransformer(String transformer)
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.