Class org.springframework.jms.listener.adapter.MessageListenerAdapterTests

19

tests

0

failures

0

ignored

0.161s

duration

100%

successful

Tests

Test Duration Result
testRainyDayWithNoApplicableHandlingMethods 0.001s passed
testThatAnExceptionThrownFromTheHandlingMethodIsSimplySwallowedByDefault 0.030s passed
testThatTheDefaultMessageConverterisIndeedTheSimpleMessageConverter 0s passed
testThatTheDefaultMessageHandlingMethodNameIsTheConstantDefault 0s passed
testThatWhenNoDelegateIsSuppliedTheDelegateIsAssumedToBeTheMessageListenerAdapterItself 0s passed
testWhenTheAdapterItselfIsTheDelegate 0.002s passed
testWithMessageContentsDelegateForBytesMessage 0.054s passed
testWithMessageContentsDelegateForObjectMessage 0.041s passed
testWithMessageContentsDelegateForObjectMessageWithPlainObject 0.003s passed
testWithMessageContentsDelegateForTextMessage 0.001s passed
testWithMessageDelegate 0s passed
testWithResponsiveMessageDelegateDoesNotSendReturnTextMessageWhenSessionSupplied_AndListenerMethodThrowsException 0.002s passed
testWithResponsiveMessageDelegateNoDefaultDestinationAndNoReplyToDestination_SendsReturnTextMessageWhenSessionSupplied 0.001s passed
testWithResponsiveMessageDelegateNoDefaultDestination_SendsReturnTextMessageWhenSessionSupplied 0.001s passed
testWithResponsiveMessageDelegateNoDefaultDestination_SendsReturnTextMessageWhenSessionSupplied_AndSendingThrowsJMSException 0.003s passed
testWithResponsiveMessageDelegateWhenReturnTypeIsAJMSMessageAndNoMessageConverterIsSupplied 0.009s passed
testWithResponsiveMessageDelegateWhenReturnTypeIsNotAJMSMessageAndNoMessageConverterIsSupplied 0.010s passed
testWithResponsiveMessageDelegateWithDefaultDestination_SendsReturnTextMessageWhenSessionSupplied 0.002s passed
testWithResponsiveMessageDelegate_DoesNotSendReturnTextMessageIfNoSessionSupplied 0.001s passed

Standard output

20:17:09.135 [Test worker] WARN  org.springframework.jms.listener.adapter.MessageListenerAdapter - Listener method returned result [I fancy a good cuppa right now]: not generating response message for it because of no JMS Session given
org.springframework.jms.listener.adapter.ListenerExecutionFailedException: Failed to invoke target method 'walnutsRock' with arguments {I fancy a good cuppa right now}; nested exception is java.lang.NoSuchMethodException: org.springframework.jms.listener.adapter.StubMessageListenerAdapter.walnutsRock(java.lang.String)