activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carfield Yim" <carfi...@carfield.com.hk>
Subject Re: Question about unit test with activemq
Date Sat, 26 May 2007 16:08:48 GMT
> How about creating a consumer to receive the message and asserting the
> message? There are examples of this throughout the ActiveMQ tests.
> There's a really simple one in the
> JMSConsumerTest.testReceiveMessageWithConsumer() test:
>
> http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JMSConsumerTest.java?view=markup
>
Can I not do that? Look like pretty complicate for just assert value
in unit test.

Mime
View raw message