Class AbstractMessageProducer
- java.lang.Object
-
- com.networknt.tram.message.producer.AbstractMessageProducer
-
- All Implemented Interfaces:
MessageProducer
public abstract class AbstractMessageProducer extends Object implements MessageProducer
-
-
Field Summary
Fields Modifier and Type Field Description protected MessageInterceptor[]messageInterceptors
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractMessageProducer(MessageInterceptor[] messageInterceptors)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidpostSend(Message message, RuntimeException e)protected voidpreSend(Message message)protected abstract voidreallySendMessage(Message message)protected voidsendMessage(String destination, Message message)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.networknt.tram.message.producer.MessageProducer
send
-
-
-
-
Field Detail
-
messageInterceptors
protected MessageInterceptor[] messageInterceptors
-
-
Constructor Detail
-
AbstractMessageProducer
protected AbstractMessageProducer(MessageInterceptor[] messageInterceptors)
-
-