How does your pom look? On Fri, Oct 21, 2016 at 10:41 AM, Allan C. [via Camel] < ml-node+s465427n5789070...@n5.nabble.com> wrote:
> Hi all, > > I am trying to upgrade camel version from 2.16.3 to 2.18.0 to test out > some > features. But when the routes are starting, I got the following exception: > > org.apache.camel.FailedToCreateRouteException: Failed to create route > incomingRoute at: >>> Choice[[When[simple{${exchangeProperty.operation} > == > "ack"} -> [Log[ACK; Body: ${in.body} Headers: ${in.headers}]]], > When[simple{${exchangeProperty.operation} == "nack"} -> [Log[NACK; Body: > ${in.body} Headers: ${in.headers}]]], > When[simple{${exchangeProperty.operation} == "control"} -> [Log[CONTROL; > Body: ${in.body} Headers: ${in.headers}]]]] > Otherwise[[Multicast[[To[direct:mainProcessRoute], > To[direct:ackMessageRoute]]]]]] <<< in route: > Route(incomingRoute)[[From[xmpp://{{cm.xmpp.host}}:{{cm.xmpp... because > of > Resolving language: simple detected type conflict: Not a Language > implementation. Found: org.apache.camel.language.simple.SimpleLanguage > . > . > . > Caused by: java.lang.IllegalArgumentException: Resolving language: simple > detected type conflict: Not a Language implementation. Found: > org.apache.camel.language.simple.SimpleLanguage > at > org.apache.camel.impl.DefaultLanguageResolver.resolveLanguage( > DefaultLanguageResolver.java:64)[90:org.apache.camel.camel-core:2.18.0] > at > org.apache.camel.impl.DefaultCamelContext.resolveLanguage( > DefaultCamelContext.java:2290)[90:org.apache.camel.camel-core:2.18.0] > at > org.apache.camel.model.LogDefinition.createProcessor( > LogDefinition.java:85)[90:org.apache.camel.camel-core:2.18.0] > at > org.apache.camel.model.ProcessorDefinition.createProcessor( > ProcessorDefinition.java:488)[90:org.apache.camel.camel-core:2.18.0] > at > org.apache.camel.model.ProcessorDefinition.createOutputsProcessorImpl( > ProcessorDefinition.java:451)[90:org.apache.camel.camel-core:2.18.0] > > Are there some changes to the SimpleLanguage? > > Regards, > Allan C. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/2-18-0-SimpleLanguage-tp5789070.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/2-18-0-SimpleLanguage-tp5789070p5789072.html Sent from the Camel - Users mailing list archive at Nabble.com.