public interface AdaptrisMessageProducer extends AdaptrisMessageWorker, AdaptrisMessageSender
Implementations of AdaptrisMessageProducer
produce messages to a destination (such as a JMS Queue or file system
directory).
AdaptrisMessageSender
Modifier and Type | Method and Description |
---|---|
AdaptrisMessage |
request(AdaptrisMessage msg)
Produce the
AdaptrisMessage to the configured destination and blocks indefinitely for a reply. |
AdaptrisMessage |
request(AdaptrisMessage msg,
long timeout)
Produces the
AdaptrisMessage to the configured ProduceDestination and blocks for the specified timeout for a
reply. |
AdaptrisMessage |
request(AdaptrisMessage msg,
ProduceDestination destination)
Deprecated.
since 3.11.0
ProduceDestination is deprecated |
AdaptrisMessage |
request(AdaptrisMessage msg,
ProduceDestination destination,
long timeoutMs)
Deprecated.
since 3.11.0
ProduceDestination is deprecated |
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
close, init, start, stop
prepare
createName, createQualifier, isTrackingEndpoint
produce, produce
AdaptrisMessage request(AdaptrisMessage msg) throws ProduceException
AdaptrisMessage
to the configured destination and blocks indefinitely for a reply.msg
- the AdaptrisMessage
to produceAdaptrisMessage
which is generally the same as supplied parameterProduceException
- wrapping any underlying Exceptions@Deprecated @Removal(version="4.0.0") AdaptrisMessage request(AdaptrisMessage msg, ProduceDestination destination) throws ProduceException
ProduceDestination
is deprecatedAdaptrisMessage
to the passed supplied
ProduceDestination
and blocks indefinitely for a reply.msg
- the AdaptrisMessage
to producedestination
- the ProduceDestination
to produce toAdaptrisMessage
which is generally the same as
supplied parameterProduceException
- wrapping any underlying Exceptions@Deprecated @Removal(version="4.0.0") AdaptrisMessage request(AdaptrisMessage msg, ProduceDestination destination, long timeoutMs) throws ProduceException
ProduceDestination
is deprecatedAdaptrisMessage
to the passed supplied
ProduceDestination
and blocks for the specified timeout for a reply.msg
- the AdaptrisMessage
to producedestination
- the ProduceDestination
to produce totimeoutMs
- the time to wait for a reply in millisecondsAdaptrisMessage
which is generally the same as
supplied parameterProduceException
- wrapping any underlying ExceptionsAdaptrisMessage request(AdaptrisMessage msg, long timeout) throws ProduceException
AdaptrisMessage
to the configured ProduceDestination
and blocks for the specified timeout for a
reply.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 Exceptions