Class TextReverserService
- java.lang.Object
-
- org.apache.activemq.artemis.jms.example.TextReverserService
-
- All Implemented Interfaces:
javax.jms.MessageListener
public class TextReverserService extends java.lang.Object implements javax.jms.MessageListenerA TextReverserService is a MessageListener which consume text messages from a destination and replies with text messages containing the reversed text. It sends replies to the destination specified by the JMS ReplyTo header of the consumed messages.
-
-
Constructor Summary
Constructors Constructor Description TextReverserService(javax.jms.ConnectionFactory cf, javax.jms.Destination destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidonMessage(javax.jms.Message request)
-