[From[timer:x]] -> [SetBody[constant{Hi Camels... because of Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[[From[timer:x]] -> [SetBody[constant{Hi Camels... because of Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory Caused by: org.apache.camel.FailedToCreateProducerException: Failed to create Producer for endpoint: ircs://camel-prod@chat.freenode.net:6697?nickname=camel-producer&channel=camel-test. Reason: java.lang.NoClassDefFoundError: javax/net/SocketFactory
Suggested fix:
add module dependency to camel-irc
<?xml version="1.0" encoding="UTF-8"?>^M <module name="org.apache.camel.component.irc" xmlns="urn:jboss:module:1.1"> <resources> <resource-root path="camel-irc-2.21.0.fuse-720040-redhat-00001.jar"/> <resource-root path="irclib-1.10.jar"/> </resources> <dependencies> + <module name="javax.api"/> <module name="org.slf4j"/> <module name="javax.xml.bind.api"/> <module name="org.apache.camel.core"/> </dependencies> <exports> <exclude path="org/schwering"/> <exclude path="org/schwering/irc"/> </exports> </module>