org.mule.transport.jms
Class JmsMessageUtilsTestCase
java.lang.Object
org.mule.tck.junit4.AbstractMuleTestCase
org.mule.transport.jms.JmsMessageUtilsTestCase
public class JmsMessageUtilsTestCase
- extends AbstractMuleTestCase
Methods inherited from class org.mule.tck.junit4.AbstractMuleTestCase |
clearExcludedFlag, clearRequestContext, createTestTimeoutRule, getTestHeader, getTestTimeoutSecs, getTimeoutSystemProperty, initializeMuleTest, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isExcluded, isFailOnTimeout, isOffline, isTestIncludedInExclusionFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
JmsMessageUtilsTestCase
public JmsMessageUtilsTestCase()
testHeaders
public void testHeaders()
testTextMessageNullContent
public void testTextMessageNullContent()
throws Exception
- Throws:
Exception
testByteMessageNullContentInJmsVersion_1_0_1
public void testByteMessageNullContentInJmsVersion_1_0_1()
throws Exception
- Throws:
Exception
testByteMessageNullContentInJmsVersion_1_1
public void testByteMessageNullContentInJmsVersion_1_1()
throws Exception
- Throws:
Exception
testStreamMessageSerialization
public void testStreamMessageSerialization()
throws Exception
- Throws:
Exception
testStreamMessageSerializationWithInvalidType
public void testStreamMessageSerializationWithInvalidType()
throws Exception
- Throws:
Exception
testMapMessageWithNullValue
public void testMapMessageWithNullValue()
throws Exception
- Throws:
Exception
testConvertsValidMapWithSimpleValuesToMapMessage
public void testConvertsValidMapWithSimpleValuesToMapMessage()
throws JMSException
- Tests that is able to convert a Map which only contains simple values into a
MapMessage.
- Throws:
JMSException
testConvertsMapWithSerializableValueIntoObjectMessage
public void testConvertsMapWithSerializableValueIntoObjectMessage()
throws Exception
- Tests that is able to convert a Map which contains a serializable value into
an ObjectMessage.
- Throws:
Exception
testConvertingMapIncludingNotValidNotSerializableValueThrowsException
public void testConvertingMapIncludingNotValidNotSerializableValueThrowsException()
throws Exception
- Tests that trying to convert a Map which contains a non valid non serializable
value throws an exception.
- Throws:
Exception
testConvertingStringToTextMessage
public void testConvertingStringToTextMessage()
throws JMSException
- Throws:
JMSException
testConvertingByteArrayToBytesMessage
public void testConvertingByteArrayToBytesMessage()
throws JMSException
- Throws:
JMSException
testConvertingSerializableToObjectMessage
public void testConvertingSerializableToObjectMessage()
throws JMSException
- Throws:
JMSException
testConvertingMessageToMessageReturnsSameObject
public void testConvertingMessageToMessageReturnsSameObject()
throws JMSException
- Throws:
JMSException
testConvertingInvalidTypeThrowsException
public void testConvertingInvalidTypeThrowsException()
throws JMSException
- Throws:
JMSException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.