FileDocCategorySizeDatePackage
JmsTextMessage.javaAPI DocJBoss 4.2.11786Fri Jul 13 21:01:16 BST 2007org.jboss.resource.adapter.jms

JmsTextMessage

public class JmsTextMessage extends JmsMessage implements javax.jms.TextMessage
A wrapper for a message
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
Constructors Summary
public JmsTextMessage(javax.jms.TextMessage message, JmsSession session)
Create a new wrapper

param
message the message
param
session the session

      super(message, session);
   
Methods Summary
public java.lang.StringgetText()

      return ((TextMessage) message).getText();
   
public voidsetText(java.lang.String string)

      ((TextMessage) message).setText(string);