Re: ActiveMQ 5.3.0 and PollingConsumer

2009-12-18 Thread Dragisa Krsmanovic
I created an issue for this problem https://issues.apache.org/activemq/browse/CAMEL-2305 On Mon, 2009-12-14 at 10:28 -0800, Dragisa Krsmanovic wrote: > Here is more details. > > On Fri, 2009-12-11 at 10:42 -0800, Dragisa Krsmanovic wrote: > > @Test > > @DirtiesContext > > public void test()

Re: ActiveMQ 5.3.0 and PollingConsumer

2009-12-14 Thread Dragisa Krsmanovic
Here is more details. On Fri, 2009-12-11 at 10:42 -0800, Dragisa Krsmanovic wrote: > @Test > @DirtiesContext > public void test() throws InterruptedException { > endpoint.setResultWaitTime(1l); > endpoint.expectedMessageCount(1); > endpoint.message(0).body().isEqualTo("foo/ba

ActiveMQ 5.3.0 and PollingConsumer

2009-12-11 Thread Dragisa Krsmanovic
This seems to be a problem between ActiveMQ and Camel (both 2.0.0 and 2.1.0) Here is unit test: == @ContextConfiguration public class PollingConsumerTest extends AbstractTestNGSpringContextTests { @EndpointInject(uri = "mock:end") protected MockEndpoint endpoi