[ https://issues.apache.org/jira/browse/CAMEL-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129668#comment-13129668 ]
Claus Ibsen commented on CAMEL-4538: ------------------------------------ Thanks for the new patch. Unfortunately there is about 20 Camel components and a few examples etc. that need to be changed as well to compile. Basically they need that type cast. If you don't mind creating a new patch with those code compile fixes, then that would be great. Basically you can compile the entire source code as documented here http://camel.apache.org/building.html For example the quick build. I am not sure if it even compiles the unit tests, so I normally run this command {code} mvn clean install -Dtest=false {code} I guess old habits die hard. > Make CamelTestSupport return Registry instead of JndiRegistry in > createRegistry method > -------------------------------------------------------------------------------------- > > Key: CAMEL-4538 > URL: https://issues.apache.org/jira/browse/CAMEL-4538 > Project: Camel > Issue Type: Improvement > Components: tests > Affects Versions: 2.8.0 > Reporter: Maciej Prochniak > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.9.0 > > Attachments: CAMEL-4538, CAMEL-4538-v2 > > > Usually when we write camel unit tests we want to use SimpleRegistry, not > JndiRegistry -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira