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)
Produce the
AdaptrisMessage to the supplied ProduceDestination , over-riding any configured destinations. |
close, init, start, stop
void produce(AdaptrisMessage msg) throws ProduceException
AdaptrisMessage
to the default destination.msg
- the @link AdaptrisMessage} to produceProduceException
- wrapping any underlying Exceptionsvoid produce(AdaptrisMessage msg, ProduceDestination destination) throws ProduceException
AdaptrisMessage
to the supplied ProduceDestination
, over-riding any configured destinations.msg
- the AdaptrisMessage
to producedestination
- the ProduceDestination
to produce toProduceException
- wrapping any underlying Exceptions