com.pcbsys.nirvana.nJMS.MessageImpl Class Reference

<Enter Class Description> More...

Inheritance diagram for com.pcbsys.nirvana.nJMS.MessageImpl:
com.pcbsys.nirvana.nJMS.BytesMessageImpl com.pcbsys.nirvana.nJMS.MapMessageImpl com.pcbsys.nirvana.nJMS.ObjectMessageImpl com.pcbsys.nirvana.nJMS.StreamMessageImpl com.pcbsys.nirvana.nJMS.TextMessageImpl

Public Member Functions

void acknowledge () throws javax.jms.JMSException, javax.jms.IllegalStateException
 <Enter Method Description> More...
 
void clearBody () throws javax.jms.JMSException, javax.jms.MessageNotWriteableException
 <Enter Method Description> More...
 
void clearProperties () throws javax.jms.JMSException
 <Enter Method Description> More...
 
boolean getBooleanProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
byte getByteProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
double getDoubleProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
float getFloatProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
int getIntProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
String getJMSCorrelationID () throws javax.jms.JMSException
 <Enter Method Description> More...
 
byte[] getJMSCorrelationIDAsBytes () throws javax.jms.JMSException
 <Enter Method Description> More...
 
int getJMSDeliveryMode () throws javax.jms.JMSException
 <Enter Method Description> More...
 
javax.jms.Destination getJMSDestination () throws JMSException
 <Enter Method Description> More...
 
long getJMSExpiration () throws javax.jms.JMSException
 <Enter Method Description> More...
 
String getJMSMessageID () throws javax.jms.JMSException
 <Enter Method Description> More...
 
int getJMSPriority () throws javax.jms.JMSException
 <Enter Method Description> More...
 
boolean getJMSRedelivered () throws javax.jms.JMSException
 <Enter Method Description> More...
 
javax.jms.Destination getJMSReplyTo () throws javax.jms.JMSException
 <Enter Method Description> More...
 
long getJMSTimestamp () throws javax.jms.JMSException
 <Enter Method Description> More...
 
String getJMSType () throws javax.jms.JMSException
 <Enter Method Description> More...
 
long getLongProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
Object getObjectProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
Enumeration getPropertyNames () throws javax.jms.JMSException
 <Enter Method Description> More...
 
short getShortProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
String getStringProperty (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
 MessageImpl ()
 <Enter Constructor Description>
 
boolean propertyExists (String name) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setBooleanProperty (String name, boolean value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setByteProperty (String name, byte value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setDoubleProperty (String name, double value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setFloatProperty (String name, float value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setIntProperty (String name, int value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSCorrelationID (String correlationID) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSCorrelationIDAsBytes (byte[] correlationID) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSDeliveryMode (int deliveryMode) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSDestination (javax.jms.Destination destination) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSExpiration (long expiration) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSMessageID (String id) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSPriority (int priority) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSRedelivered (boolean redelivered) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSReplyTo (javax.jms.Destination replyTo) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSTimestamp (long timestamp) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setJMSType (String type) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setLongProperty (String name, long value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setObjectProperty (String name, Object value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setShortProperty (String name, short value) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setStringProperty (String name, String value) throws javax.jms.JMSException
 <Enter Method Description> More...
 

Protected Member Functions

com.pcbsys.nirvana.client.nConsumeEvent convert () throws JMSException
 <Enter Method Description> More...
 
void setProducer (MessageProducer producer) throws javax.jms.JMSException
 <Enter Method Description>
 
void setRedeliveryCount (int count) throws javax.jms.JMSException
 <Enter Method Description> More...
 
void setTTL (long ttl) throws javax.jms.JMSException
 <Enter Method Description> More...
 

Detailed Description

<Enter Class Description>

Member Function Documentation

void com.pcbsys.nirvana.nJMS.MessageImpl.acknowledge ( ) throws javax.jms.JMSException, javax.jms.IllegalStateException

<Enter Method Description>

Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.clearBody ( ) throws javax.jms.JMSException, javax.jms.MessageNotWriteableException

<Enter Method Description>

Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.clearProperties ( ) throws javax.jms.JMSException

<Enter Method Description>

Exceptions
JMSException<Enter Exception Description>
com.pcbsys.nirvana.client.nConsumeEvent com.pcbsys.nirvana.nJMS.MessageImpl.convert ( ) throws JMSException
protected

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
boolean com.pcbsys.nirvana.nJMS.MessageImpl.getBooleanProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
byte com.pcbsys.nirvana.nJMS.MessageImpl.getByteProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
double com.pcbsys.nirvana.nJMS.MessageImpl.getDoubleProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
float com.pcbsys.nirvana.nJMS.MessageImpl.getFloatProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
int com.pcbsys.nirvana.nJMS.MessageImpl.getIntProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
String com.pcbsys.nirvana.nJMS.MessageImpl.getJMSCorrelationID ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
byte [] com.pcbsys.nirvana.nJMS.MessageImpl.getJMSCorrelationIDAsBytes ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
int com.pcbsys.nirvana.nJMS.MessageImpl.getJMSDeliveryMode ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
javax.jms.Destination com.pcbsys.nirvana.nJMS.MessageImpl.getJMSDestination ( ) throws JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
long com.pcbsys.nirvana.nJMS.MessageImpl.getJMSExpiration ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
String com.pcbsys.nirvana.nJMS.MessageImpl.getJMSMessageID ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
int com.pcbsys.nirvana.nJMS.MessageImpl.getJMSPriority ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
boolean com.pcbsys.nirvana.nJMS.MessageImpl.getJMSRedelivered ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
javax.jms.Destination com.pcbsys.nirvana.nJMS.MessageImpl.getJMSReplyTo ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
long com.pcbsys.nirvana.nJMS.MessageImpl.getJMSTimestamp ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
String com.pcbsys.nirvana.nJMS.MessageImpl.getJMSType ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
long com.pcbsys.nirvana.nJMS.MessageImpl.getLongProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
Object com.pcbsys.nirvana.nJMS.MessageImpl.getObjectProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
Enumeration com.pcbsys.nirvana.nJMS.MessageImpl.getPropertyNames ( ) throws javax.jms.JMSException

<Enter Method Description>

Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
short com.pcbsys.nirvana.nJMS.MessageImpl.getShortProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
String com.pcbsys.nirvana.nJMS.MessageImpl.getStringProperty ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
boolean com.pcbsys.nirvana.nJMS.MessageImpl.propertyExists ( String  name) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
Returns
<Enter Result Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setBooleanProperty ( String  name,
boolean  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setByteProperty ( String  name,
byte  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setDoubleProperty ( String  name,
double  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setFloatProperty ( String  name,
float  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setIntProperty ( String  name,
int  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSCorrelationID ( String  correlationID) throws javax.jms.JMSException

<Enter Method Description>

Parameters
correlationID<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSCorrelationIDAsBytes ( byte[]  correlationID) throws javax.jms.JMSException

<Enter Method Description>

Parameters
correlationID<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSDeliveryMode ( int  deliveryMode) throws javax.jms.JMSException

<Enter Method Description>

Parameters
deliveryMode<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSDestination ( javax.jms.Destination  destination) throws javax.jms.JMSException

<Enter Method Description>

Parameters
destination<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSExpiration ( long  expiration) throws javax.jms.JMSException

<Enter Method Description>

Parameters
expiration<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSMessageID ( String  id) throws javax.jms.JMSException

<Enter Method Description>

Parameters
id<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSPriority ( int  priority) throws javax.jms.JMSException

<Enter Method Description>

Parameters
priority<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSRedelivered ( boolean  redelivered) throws javax.jms.JMSException

<Enter Method Description>

Parameters
redelivered<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSReplyTo ( javax.jms.Destination  replyTo) throws javax.jms.JMSException

<Enter Method Description>

Parameters
replyTo<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSTimestamp ( long  timestamp) throws javax.jms.JMSException

<Enter Method Description>

Parameters
timestamp<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setJMSType ( String  type) throws javax.jms.JMSException

<Enter Method Description>

Parameters
type<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setLongProperty ( String  name,
long  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setObjectProperty ( String  name,
Object  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setRedeliveryCount ( int  count) throws javax.jms.JMSException
protected

<Enter Method Description>

Parameters
count<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setShortProperty ( String  name,
short  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setStringProperty ( String  name,
String  value 
) throws javax.jms.JMSException

<Enter Method Description>

Parameters
name<Enter Parameter Description>
value<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>
void com.pcbsys.nirvana.nJMS.MessageImpl.setTTL ( long  ttl) throws javax.jms.JMSException
protected

<Enter Method Description>

Parameters
ttl<Enter Parameter Description>
Exceptions
JMSException<Enter Exception Description>