|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.jms.core.mock.MessageMock
public class MessageMock
Message
のモックです。
フィールドの概要 | |
---|---|
protected String |
JMSCorrelationID
JMSメッセージのヘッダに設定される correlationID |
protected byte[] |
JMSCorrelationIDAsBytes
JMSメッセージのヘッダに設定される correlationID |
protected int |
JMSDeliveryMode
JMSメッセージのヘッダに設定される デリバリモード |
protected Destination |
JMSDestination
JMSメッセージのヘッダに設定される デスティネーション |
protected long |
JMSExpiration
JMSメッセージのヘッダに設定される メッセージの寿命 |
protected String |
JMSMessageID
JMSメッセージのヘッダに設定される メッセージId |
protected int |
JMSPriority
JMSメッセージのヘッダに設定される プライオリティ |
protected boolean |
JMSRedelivered
JMSメッセージのヘッダに設定される 再送フラグ |
protected Destination |
JMSReplyTo
JMSメッセージのヘッダに設定される 返信先デスティネーション |
protected long |
JMSTimestamp
JMSメッセージのヘッダに設定される タイムスタンプ |
protected String |
JMSType
JMSメッセージのヘッダに設定される メッセージのタイプ |
protected Map<String,Object> |
properties
JMSメッセージのプロパティ |
インタフェース javax.jms.Message から継承されたフィールド |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
コンストラクタの概要 | |
---|---|
MessageMock()
インスタンスを構築します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected String JMSCorrelationID
correlationID
protected byte[] JMSCorrelationIDAsBytes
correlationID
protected int JMSDeliveryMode
デリバリモード
protected Destination JMSDestination
デスティネーション
protected long JMSExpiration
メッセージの寿命
protected String JMSMessageID
メッセージId
protected int JMSPriority
プライオリティ
protected boolean JMSRedelivered
再送フラグ
protected Destination JMSReplyTo
返信先デスティネーション
protected long JMSTimestamp
タイムスタンプ
protected String JMSType
メッセージのタイプ
protected Map<String,Object> properties
コンストラクタの詳細 |
---|
public MessageMock()
メソッドの詳細 |
---|
public void acknowledge() throws JMSException
Message
内の acknowledge
JMSException
public void clearBody() throws JMSException
Message
内の clearBody
JMSException
public void clearProperties() throws JMSException
Message
内の clearProperties
JMSException
public boolean getBooleanProperty(String name) throws JMSException
Message
内の getBooleanProperty
JMSException
public byte getByteProperty(String name) throws JMSException
Message
内の getByteProperty
JMSException
public double getDoubleProperty(String name) throws JMSException
Message
内の getDoubleProperty
JMSException
public float getFloatProperty(String name) throws JMSException
Message
内の getFloatProperty
JMSException
public int getIntProperty(String name) throws JMSException
Message
内の getIntProperty
JMSException
public String getJMSCorrelationID() throws JMSException
Message
内の getJMSCorrelationID
JMSException
public byte[] getJMSCorrelationIDAsBytes() throws JMSException
Message
内の getJMSCorrelationIDAsBytes
JMSException
public int getJMSDeliveryMode() throws JMSException
Message
内の getJMSDeliveryMode
JMSException
public Destination getJMSDestination() throws JMSException
Message
内の getJMSDestination
JMSException
public long getJMSExpiration() throws JMSException
Message
内の getJMSExpiration
JMSException
public String getJMSMessageID() throws JMSException
Message
内の getJMSMessageID
JMSException
public int getJMSPriority() throws JMSException
Message
内の getJMSPriority
JMSException
public boolean getJMSRedelivered() throws JMSException
Message
内の getJMSRedelivered
JMSException
public Destination getJMSReplyTo() throws JMSException
Message
内の getJMSReplyTo
JMSException
public long getJMSTimestamp() throws JMSException
Message
内の getJMSTimestamp
JMSException
public String getJMSType() throws JMSException
Message
内の getJMSType
JMSException
public long getLongProperty(String name) throws JMSException
Message
内の getLongProperty
JMSException
public Object getObjectProperty(String name) throws JMSException
Message
内の getObjectProperty
JMSException
public Enumeration getPropertyNames() throws JMSException
Message
内の getPropertyNames
JMSException
public short getShortProperty(String name) throws JMSException
Message
内の getShortProperty
JMSException
public String getStringProperty(String name) throws JMSException
Message
内の getStringProperty
JMSException
public boolean propertyExists(String name) throws JMSException
Message
内の propertyExists
JMSException
public void setBooleanProperty(String name, boolean value) throws JMSException
Message
内の setBooleanProperty
JMSException
public void setByteProperty(String name, byte value) throws JMSException
Message
内の setByteProperty
JMSException
public void setDoubleProperty(String name, double value) throws JMSException
Message
内の setDoubleProperty
JMSException
public void setFloatProperty(String name, float value) throws JMSException
Message
内の setFloatProperty
JMSException
public void setIntProperty(String name, int value) throws JMSException
Message
内の setIntProperty
JMSException
public void setJMSCorrelationID(String JMSCorrelationID) throws JMSException
Message
内の setJMSCorrelationID
JMSException
public void setJMSCorrelationIDAsBytes(byte[] JMSCorrelationIDAsBytes) throws JMSException
Message
内の setJMSCorrelationIDAsBytes
JMSException
public void setJMSDeliveryMode(int JMSDeliveryMode) throws JMSException
Message
内の setJMSDeliveryMode
JMSException
public void setJMSDestination(Destination JMSDestination) throws JMSException
Message
内の setJMSDestination
JMSException
public void setJMSExpiration(long JMSExpiration) throws JMSException
Message
内の setJMSExpiration
JMSException
public void setJMSMessageID(String JMSMessageID) throws JMSException
Message
内の setJMSMessageID
JMSException
public void setJMSPriority(int JMSPriority) throws JMSException
Message
内の setJMSPriority
JMSException
public void setJMSRedelivered(boolean JMSRedelivered) throws JMSException
Message
内の setJMSRedelivered
JMSException
public void setJMSReplyTo(Destination JMSReplyTo) throws JMSException
Message
内の setJMSReplyTo
JMSException
public void setJMSTimestamp(long JMSTimestamp) throws JMSException
Message
内の setJMSTimestamp
JMSException
public void setJMSType(String JMSType) throws JMSException
Message
内の setJMSType
JMSException
public void setLongProperty(String name, long value) throws JMSException
Message
内の setLongProperty
JMSException
public void setObjectProperty(String name, Object value) throws JMSException
Message
内の setObjectProperty
JMSException
public void setShortProperty(String name, short value) throws JMSException
Message
内の setShortProperty
JMSException
public void setStringProperty(String name, String value) throws JMSException
Message
内の setStringProperty
JMSException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |