Hm, we don't create a new camelContext.
Our masterRoutesBuilder uses the SpringCamelContext.
When we add the routes we make a cast to ModelCamelContext
camelContext.addRouteDefinitions(templateRoute
.getRouteCollection().getRoutes());
Can this be the problem?
Willem.Jiang wrote
> It looks the camel context you set to CxfEndpoint is not the one that
> camel-context.xml creates. You may ned to some work on the route builder
> that you extend.
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
> On March 5, 2015 at 10:06:55 PM, cgiera (
> christoph.giera@
> ) wrote:
>> Hello,
>>
>> this ist the CxfEndpoint configuration I use in from(endpoint)
>>
>> CxfEndpoint endpoint = new CxfEndpoint();
>> endpoint.setServiceClass("myServiceClass");
>> endpoint.setAddress("/myService");
>> endpoint.setCxfEndpointConfigurer(new MyEndpointConfigurer());
>> endpoint.setCamelContext(this.getContext());
>>
>> I've found something strange:
>> We use a custom ManagementNameStrategy where we use hostname/nodeId as
>> fixed
>> name.
>> When I take a look into the jconsole and the mbeans all other routes
>> appear
>> under myhost/mynode.
>> The route that I have to configure with the seperate CxfEndpoint appers
>> under camel-3.
>> Can this help?
>>
>> kind regards,
>> Christoph
>>
>>
>> yogu13 wrote
>> > Hello..
>> >
>> > Please let us know the exact parameters being set..
>> >
>> > Code from your dsl will help.. Just cipher out sensitiveinformation
>> >
>> > Regards,
>> > -Yogesh
>> >
>> > On Thursday, March 5, 2015, cgiera [via Camel] <
>>
>> > [email protected]
>>
>> >> wrote:
>> >
>> >> There I have the same problem that the route is started, but the
>> endpoint
>> >> is not callable via soapui or smthg. The route is also not shown in
>> our
>> >> jmx
>> >> monitoring screen.
>> >>
>> >> yogu13 wrote
>> >> Hello Christoph,
>> >>
>> >> Please check the CxfEndpoint API in camel first!
>> >>
>> >> I would say you shouldnt be calling .createEndpoint() and instead call
>> >> the
>> >> set methods CxfEndpoint instance for eg. setAddress()
>> >> ,.setCxfEndpointConfigurer()
>> >>
>> >> and then pass the enpoint instance to... from(inputEndpoint)
>> >>
>> >> Hope this helps!
>> >>
>> >> Regards,
>> >> -Yogesh
>> >>
>> >>
>> >>
>> >> ------------------------------
>> >> If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://camel.465427.n5.nabble.com/Camel-Cxf-How-can-I-change-the-namespace-of-my-incoming-message-tp5763634p5763673.html
>>
>> >> To unsubscribe from Camel Cxf: How can I change the namespace of my
>> >> incoming message?, click here
>> >>
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5763634&code=eW9ndTEzQGdtYWlsLmNvbXw1NzYzNjM0fC04ODQzODQxMjM=>
>>
>> >> .
>> >> 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/Camel-Cxf-How-can-I-change-the-namespace-of-my-incoming-message-tp5763634p5763676.html
>>
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Cxf-How-can-I-change-the-namespace-of-my-incoming-message-tp5763634p5763681.html
Sent from the Camel - Users mailing list archive at Nabble.com.