Package me.ehp246.aufjms.api.dispatch
Interface JmsDispatch
- All Known Subinterfaces:
JmsMsg
- All Known Implementing Classes:
TextJmsMsg
public interface JmsDispatch
The abstraction of a fully-realized out-bound JMS message.
A JmsDispatch is meant to be dispatched/sent by a DispatchFn.
- Since:
- 1.0
- Author:
- Lei Yang
-
Method Summary
Modifier and Type Method Description default java.util.List<?>bodyValues()default java.lang.StringcorrelationId()javax.jms.Destinationdestination()default java.lang.StringgroupId()default java.lang.IntegergroupSeq()default javax.jms.DestinationreplyTo()default java.time.Durationttl()Defines if the dispatch has a TTL.default java.lang.Stringtype()
-
Method Details
-
destination
javax.jms.Destination destination() -
type
default java.lang.String type() -
correlationId
default java.lang.String correlationId() -
bodyValues
default java.util.List<?> bodyValues() -
replyTo
default javax.jms.Destination replyTo() -
ttl
default java.time.Duration ttl()Defines if the dispatch has a TTL.The default,
null, means no TTL to set. -
groupId
default java.lang.String groupId() -
groupSeq
default java.lang.Integer groupSeq()
-