[ 
https://issues.apache.org/activemq/browse/CAMEL-3236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63081#action_63081
 ] 

Claus Ibsen commented on CAMEL-3236:
------------------------------------

Thanks Mark for the donation to Apache.

trunk: 1031461.

I had to disable a couple of tests with @Ignore. They fail due some XML 
timestamp comparison. Please take a look if you got the time.
eg check out the source from Apache Camel and see if you can fix it and supply 
a patch.

{code}

<?xml version="1.0" encoding="UTF-8"?><NotificationEvent 
xmlns="urn:org.apache.camel.component:jmx"><source>TestDomain:name=simpleBean</source><message>I
 was 
touched</message><sequence>0</sequence><timestamp>1262856615000</timestamp><dateTime>2010-01-07T10:30:15.000+01:00</dateTime><type>touched</type></NotificationEvent>Nov
 5, 2010 8:42:32 AM ClientCommunicatorAdmin restart

java.lang.AssertionError: junit.framework.AssertionFailedError: 
org.custommonkey.xmlunit.Diff
[different] Expected text value '1262878215000' but was '1262856615000' - 
comparing <timestamp ...>1262878215000</timestamp> at 
/NotificationEvent[1]/timestamp[1]/text()[1] to <timestamp 
...>1262856615000</timestamp> at /NotificationEvent[1]/timestamp[1]/text()[1]

        at junit.framework.Assert.fail(Assert.java:47)
        at org.custommonkey.xmlunit.XMLAssert.assertXMLEqual(XMLAssert.java:125)
        at org.custommonkey.xmlunit.XMLAssert.assertXMLEqual(XMLAssert.java:113)
        at 
org.apache.camel.component.jmx.XmlFixture.assertXMLIgnorePrefix(XmlFixture.java:76)
        at 
org.apache.camel.component.jmx.SimpleBeanFixture.assertMessageReceived(SimpleBeanFixture.java:255)
        at 
org.apache.camel.component.jmx.JMXRemoteTest.notification(JMXRemoteTest.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
{code}

> Camel JMX Component
> -------------------
>
>                 Key: CAMEL-3236
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3236
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Tracy Snell
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: camel-jmx-patch.txt
>
>
> Mark Ford is donating his Camel-JMX component. Providing a Jira for the code 
> to be submitted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to