Hi Willem Yes it works with the JMX disabled. BTW: There should be an enable/disable methods on CamelContextSupport so you can easier enable/disable it.
java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing) ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.camel.component.jms.AggregratedJmsRouteTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.219 sec Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk -----Original Message----- From: Willem Jiang [mailto:[EMAIL PROTECTED] Sent: 3. juli 2008 07:53 To: [email protected] Subject: Re: AggregratedJmsRouteTest - FAILURE Hi Claus, Which version of JDK are you using ? Can you try to disable the jmx when you run the test by using the below code ? System.setProperty(JmxSystemPropertyKeys.DISABLED, "True"); Willem Claus Ibsen wrote: > Something is very strange. I only get the aggregated logging if I run with > DEBUG logging. At INFO level the code never reaches the aggregated part. > > And still failing with the latest patch. > > Med venlig hilsen > > Claus Ibsen > ...................................... > Silverbullet > Skovsgårdsvænget 21 > 8362 Hørning > Tlf. +45 2962 7576 > Web: www.silverbullet.dk > > -----Original Message----- > From: Claus Ibsen [mailto:[EMAIL PROTECTED] > Sent: 2. juli 2008 21:54 > To: [email protected] > Subject: RE: AggregratedJmsRouteTest - FAILURE > > Hi Marat > > Thanks for the info. I checked, the patch has been applied to the trunk. > I have not seen the failure on Bamboo yet, so it could be my system only. > > Wanted to know if others have the same failure. > > Med venlig hilsen > > Claus Ibsen > ...................................... > Silverbullet > Skovsgårdsvænget 21 > 8362 Hørning > Tlf. +45 2962 7576 > Web: www.silverbullet.dk > > -----Original Message----- > From: marat [mailto:[EMAIL PROTECTED] > Sent: 2. juli 2008 21:26 > To: [email protected] > Subject: Re: AggregratedJmsRouteTest - FAILURE > > > Claus, > > See this JIRA: https://issues.apache.org/activemq/browse/CAMEL-642 > > William has already submitted a patch for it. Can you apply this patch and > see if this solved your problem and get back to us? > > Thanks, > Marat > > > Claus Ibsen wrote: > >> Hi >> >> >> >> This unit test constantly fails on my system. Do you have this problem? >> >> >> >> ------------------------------------------------------------------------------- >> >> Test set: org.apache.camel.component.jms.AggregratedJmsRouteTest >> >> ------------------------------------------------------------------------------- >> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 28.204 sec >> <<< FAILURE! >> >> testJmsMulticastAndAggregration(org.apache.camel.component.jms.AggregratedJmsRouteTest) >> >> Time elapsed: 21.625 sec <<< ERROR! >> >> java.lang.AssertionError: mock:reply Received message count. Expected: <2> >> but was: <0> >> >> at >> org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:662) >> >> at >> org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:644) >> >> at >> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:223) >> >> at >> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:199) >> >> at >> org.apache.camel.component.jms.AggregratedJmsRouteTest.testJmsMulticastAndAggregration(AggregratedJmsRouteTest.java:66) >> >> >> >> >> >> >> >> >> >> Med venlig hilsen >> >> >> >> Claus Ibsen >> >> ...................................... >> >> Silverbullet >> >> Skovsgårdsvænget 21 >> >> 8362 Hørning >> >> Tlf. +45 2962 7576 >> >> Web: www.silverbullet.dk >> >> >> >> >> >> > >
