camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: org.apache.camel.FailedToCreateRouteException: Failed to create route with SNMP component
Date Thu, 13 Aug 2015 07:09:32 GMT
Hi

If you build your own big/uber JAR see this FAQ
http://camel.apache.org/how-do-i-use-a-big-uber-jar.html

On Wed, Aug 12, 2015 at 5:06 PM, jspyeatt <john.pyeatt@singlewire.com> wrote:
> It's actually weirder than first appeared.
> I do have camel-snmp included in the pom.xml file. I should have mentioned
> that in my original post.
>
> I'm beginning to think it's a classloader issue... Oh joy..
>
> Because everything works fine when I run the application within IntelliJ.
> But when I make it an executable jar file using maven assembly module it
> can't find the converter.
>
> SNMP traps work fine in both cases. So I know the snmp component is being
> successfully included. It's just when I try to create the SNMP polling
> route.
>
> So my question seems to be more fundamental. How is camel locating classes
> with the @Converter annotation.
>
> Also, it seems to find other @Converters just fine. Example the one in
> camel-mail.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-FailedToCreateRouteException-Failed-to-create-route-with-SNMP-component-tp5768341p5770615.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2nd edition: http://www.manning.com/ibsen2

Mime
View raw message