[overlord-issues] [JBoss JIRA] (RTGOV-254) Switchyard camel-service quickstart fails due to class cast exception

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Aug 16 11:50:26 EDT 2013


    [ https://issues.jboss.org/browse/RTGOV-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797350#comment-12797350 ] 

RH Bugzilla Integration commented on RTGOV-254:
-----------------------------------------------

Gary Brown <gbrown at redhat.com> made a comment on [bug 994413|https://bugzilla.redhat.com/show_bug.cgi?id=994413]

Have fixed the class cast exception - however no exchange events are being passed to the event listener for this example, so that is the reason that no activity events are recorded.

So that this fix gets into ER2, I am closing this issue, but would suggest creating a separate test for receiving switchyard exchange events - if they are not created, then raise BZ for switchyard, if they are, then raise another BZ against rtgov. Hope that is ok.
                
> Switchyard camel-service quickstart fails due to class cast exception
> ---------------------------------------------------------------------
>
>                 Key: RTGOV-254
>                 URL: https://issues.jboss.org/browse/RTGOV-254
>             Project: RTGov (Run Time Governance)
>          Issue Type: Bug
>            Reporter: Gary Brown
>            Assignee: Gary Brown
>             Fix For: 1.1.0.Final
>
>
> Try camel-service quickstart. When executed on the server the rtgov does not record a business transaction. Moreover an exception is in the log
> 10:52:39,114 DEBUG [org.switchyard.internal.EventManager] (Camel (camel-7) thread #8 - file:///home/jpechane/in) Observer threw exception on event class org.apache.camel.management.event.ExchangeCompletedEvent: java.lang.ClassCastException: org.apache.camel.component.file.GenericFileMessage cannot be cast to org.switchyard.bus.camel.CamelMessage
> 	at org.overlord.rtgov.internal.switchyard.camel.AbstractExchangeEventProcessor.handleEvent(AbstractExchangeEventProcessor.java:77)
> 	at org.overlord.rtgov.internal.switchyard.AbstractEventProcessor.notify(AbstractEventProcessor.java:75)
> 	at org.switchyard.internal.EventManager.publish(EventManager.java:52) [switchyard-runtime-1.1.0.M1-redhat-1.jar:1.1.0.M1-redhat-1]
> 	at 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the overlord-issues mailing list