public abstract class ProduceOnlyProducerImp extends AdaptrisMessageProducerImp
All the request methods throw an UnsupportedOperationException
logCONFIRMATION_ID_KEY| Constructor and Description |
|---|
ProduceOnlyProducerImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
produce(AdaptrisMessage msg)
Produces the
AdaptrisMessage to the default destination. |
AdaptrisMessage |
request(AdaptrisMessage msg)
UnsupportedOperationException is thrown
|
AdaptrisMessage |
request(AdaptrisMessage msg,
long timeout)
UnsupportedOperationException is thrown
|
AdaptrisMessage |
request(AdaptrisMessage msg,
ProduceDestination destination)
UnsupportedOperationException is thrown
|
AdaptrisMessage |
request(AdaptrisMessage msg,
ProduceDestination destination,
long timeout)
UnsupportedOperationException is thrown
|
getDestination, setDestinationcreateName, createQualifier, decode, encode, getEncoder, getIsTrackingEndpoint, getMessageFactory, getUniqueId, handleConnectionException, isTrackingEndpoint, registerConnection, registerEncoderMessageFactory, retrieveConnection, setEncoder, setIsTrackingEndpoint, setMessageFactory, setUniqueId, withMessageFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactorygetUniqueIdclose, init, start, stoppreparecreateName, createQualifier, isTrackingEndpointproducepublic void produce(AdaptrisMessage msg) throws ProduceException
AdaptrisMessageSenderAdaptrisMessage to the default destination.msg - the @link AdaptrisMessage} to produceProduceException - wrapping any underlying Exceptions#produce(AdaptrisMessage, ProduceDestination)public final AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException
msg - the AdaptrisMessage to produceAdaptrisMessage which is generally the same as supplied parameterProduceException - wrapping any underlying ExceptionsAdaptrisMessageProducer.request(AdaptrisMessage)public final AdaptrisMessage request(AdaptrisMessage msg, long timeout) throws ProduceException
msg - the AdaptrisMessage to producetimeout - the time to wait for a reply in millisecondsAdaptrisMessage which is generally the same as supplied parameterProduceException - wrapping any underlying ExceptionsAdaptrisMessageProducer.request(AdaptrisMessage, long)public final AdaptrisMessage request(AdaptrisMessage msg, ProduceDestination destination) throws ProduceException
msg - the AdaptrisMessage to producedestination - the ProduceDestination to produce toAdaptrisMessage which is generally the same as supplied parameterProduceException - wrapping any underlying Exceptions#request(AdaptrisMessage,ProduceDestination)public final AdaptrisMessage request(AdaptrisMessage msg, ProduceDestination destination, long timeout) throws ProduceException
msg - the AdaptrisMessage to producedestination - the ProduceDestination to produce totimeout - the time to wait for a reply in millisecondsAdaptrisMessage which is generally the same as supplied parameterProduceException - wrapping any underlying Exceptions#request(AdaptrisMessage,
ProduceDestination, long)