Package com.adaptris.core
Interface AdaptrisMessageSender
-
- All Superinterfaces:
ComponentLifecycle
- All Known Subinterfaces:
AdaptrisMessageProducer
- All Known Implementing Classes:
AdaptrisMessageProducerImp,DefinedJmsProducer,FsProducer,FtpProducer,HttpProducer,JdbcStoredProcedureProducer,JmsAsyncProducer,JmsProducer,JmsProducerImpl,LargeFsProducer,NullMessageProducer,PasProducer,ProduceOnlyProducerImp,PtpProducer,RelaxedFtpProducer,RequestReplyProducerBase,RequestReplyProducerImp,ResponseProducerImpl,RetryOnceStandaloneProducer,StandaloneProducer,StandaloneRequestor,StandardHttpProducer,StandardResponseProducer
public interface AdaptrisMessageSender extends ComponentLifecycle
New interface so that we can re-use producer style functionality without all the additional requirements surrounds AdaptrisMessageWorker.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidproduce(AdaptrisMessage msg)Produces theAdaptrisMessageto the default destination.-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
-
-
-
Method Detail
-
produce
void produce(AdaptrisMessage msg) throws ProduceException
Produces theAdaptrisMessageto the default destination.- Parameters:
msg- the @link AdaptrisMessage} to produce- Throws:
ProduceException- wrapping any underlying Exceptions
-
-