|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.client.message.AbstractAMQMessageDelegate
public abstract class AbstractAMQMessageDelegate
This abstract class provides exchange lookup functionality that is shared between all MessageDelegates. Update facilities are provided so that the 0-10 code base can update the mappings. The 0-8 code base does not have the facility to update the exchange map so it can only use the default mappings. That said any updates that a 0-10 client performs will also benefit any 0-8 connections in this VM.
Constructor Summary | |
---|---|
AbstractAMQMessageDelegate()
|
Method Summary | |
---|---|
protected static boolean |
exchangeMapContains(String exchange)
Accessor method to allow lookups of the given exchange name. |
protected AMQDestination |
generateDestination(org.apache.qpid.framing.AMQShortString exchange,
org.apache.qpid.framing.AMQShortString routingKey)
Called when a Destination is requried. |
protected static void |
updateExchangeType(String exchange,
String newtype)
Update the exchange name to type mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAMQMessageDelegate()
Method Detail |
---|
protected AMQDestination generateDestination(org.apache.qpid.framing.AMQShortString exchange, org.apache.qpid.framing.AMQShortString routingKey)
exchange
- The exchange nameroutingKey
- The routing key to be used for the Destination
protected static void updateExchangeType(String exchange, String newtype)
exchange
- the name of the exchangenewtype
- the AMQP exchange class name i.e. directprotected static boolean exchangeMapContains(String exchange)
exchange
- the exchange name to lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |