Class TopicOperator
- java.lang.Object
-
- org.smallmind.phalanx.wire.transport.jms.TopicOperator
-
- All Implemented Interfaces:
MessageHandler,SessionEmployer
public class TopicOperator extends Object implements SessionEmployer, MessageHandler
-
-
Constructor Summary
Constructors Constructor Description TopicOperator(ConnectionManager connectionManager, javax.jms.Topic topic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jms.BytesMessagecreateMessage()javax.jms.DestinationgetDestination()StringgetMessageSelector()voidsend(javax.jms.Message message)
-
-
-
Constructor Detail
-
TopicOperator
public TopicOperator(ConnectionManager connectionManager, javax.jms.Topic topic)
-
-
Method Detail
-
getDestination
public javax.jms.Destination getDestination()
- Specified by:
getDestinationin interfaceSessionEmployer
-
getMessageSelector
public String getMessageSelector()
- Specified by:
getMessageSelectorin interfaceSessionEmployer
-
createMessage
public javax.jms.BytesMessage createMessage() throws javax.jms.JMSException- Specified by:
createMessagein interfaceMessageHandler- Throws:
javax.jms.JMSException
-
send
public void send(javax.jms.Message message) throws javax.jms.JMSException- Specified by:
sendin interfaceMessageHandler- Throws:
javax.jms.JMSException
-
-