public abstract class EventMessage extends Object
Modifier | Constructor and Description |
---|---|
|
EventMessage()
Default constructor for constructing event
|
protected |
EventMessage(Event.MessageType messageType,
AppType appType)
Constructs the event message using message type and app type
|
Modifier and Type | Method and Description |
---|---|
AppType |
getAppType()
Returns the appType for a event
|
Event.MessageType |
getMessageType()
Returns the message type for a event
|
void |
setAppType(AppType appType)
Sets the appType for a event
|
void |
setMessageType(Event.MessageType messageType)
Sets the message type for a event
|
void |
setProperties(javax.jms.Message message)
Set the JMS selector properties for message object
|
public EventMessage()
protected EventMessage(Event.MessageType messageType, AppType appType)
messageType
- the message typeappType
- the app typepublic void setAppType(AppType appType)
appType
- public AppType getAppType()
public void setMessageType(Event.MessageType messageType)
messageType
- public Event.MessageType getMessageType()
public void setProperties(javax.jms.Message message) throws javax.jms.JMSException
message
- javax.jms.JMSException
Copyright © 2018 Apache Software Foundation. All rights reserved.