com.caucho.amqp.marshal
Interface AmqpMessageEncoder<T>
- All Known Implementing Classes:
- AbstractMessageEncoder, AmqpEnvelopeEncoder, AmqpJmsEncoder, AmqpStringEncoder
public interface AmqpMessageEncoder<T>
encoding a message
isDurable
boolean isDurable(MessagePropertiesFactory<T> factory,
T value)
getPriority
int getPriority(MessagePropertiesFactory<T> factory,
T value)
getTimeToLive
long getTimeToLive(MessagePropertiesFactory<T> factory,
T value)
isFirstAcquirer
boolean isFirstAcquirer(MessagePropertiesFactory<T> factory,
T value)
getContentType
java.lang.String getContentType(T value)
encodeData
void encodeData(AmqpWriter out,
T value)
throws java.io.IOException
- Throws:
java.io.IOException
encode
void encode(AmqpWriter out,
MessagePropertiesFactory<T> factory,
T value)
throws java.io.IOException
- Throws:
java.io.IOException