public interface AdaptrisMessageSender extends ComponentLifecycle
Modifier and Type | Method and Description |
---|---|
void |
produce(AdaptrisMessage msg)
Produces the
AdaptrisMessage to the default destination. |
void |
produce(AdaptrisMessage msg,
ProduceDestination destination)
Deprecated.
since 3.11.0
ProduceDestination is deprecated |
close, init, start, stop
void produce(AdaptrisMessage msg) throws ProduceException
AdaptrisMessage
to the default destination.msg
- the @link AdaptrisMessage} to produceProduceException
- wrapping any underlying Exceptions@Deprecated @Removal(version="4.0.0") void produce(AdaptrisMessage msg, ProduceDestination destination) throws ProduceException
ProduceDestination
is deprecatedAdaptrisMessage
to the supplied
ProduceDestination
, over-riding any configured destinations.msg
- the AdaptrisMessage
to producedestination
- the ProduceDestination
to produce toProduceException
- wrapping any underlying Exceptions