Package me.ehp246.aufjms.api.jms
Interface JmsMsg
- All Known Implementing Classes:
TextJmsMsg
public interface JmsMsg
Custom version of JMS Message which does not throw.
- Since:
- 1.0
- Author:
- Lei Yang
-
Method Summary
Modifier and Type Method Description java.lang.StringcorrelationId()javax.jms.Destinationdestination()longexpiration()java.lang.StringgroupId()java.lang.IntegergroupSeq()java.lang.Stringid()java.lang.Stringinvoking()javax.jms.TextMessagemsg()<T> Tproperty(java.lang.String name, java.lang.Class<T> type)javax.jms.DestinationreplyTo()java.lang.Stringtext()java.time.Instanttimestamp()java.lang.Stringtype()
-
Method Details
-
id
java.lang.String id() -
destination
javax.jms.Destination destination() -
type
java.lang.String type() -
correlationId
java.lang.String correlationId() -
text
java.lang.String text() -
replyTo
javax.jms.Destination replyTo() -
groupId
java.lang.String groupId() -
groupSeq
java.lang.Integer groupSeq() -
expiration
long expiration() -
timestamp
java.time.Instant timestamp() -
invoking
java.lang.String invoking() -
property
<T> T property(java.lang.String name, java.lang.Class<T> type) -
msg
javax.jms.TextMessage msg()
-