Re: Full example of configuring endpoints in pure Java (without uri strings)

2017-08-04 Thread Oliver Doepner
Hello Claus, Thanks a lot for your helpful response. Currently I just set the CamelContext on the endpoints right after I create them and that seems to take care of the wiring between endpoint and component. Regarding the code example I included in my previous email to this list, I had to make a

Re: Full example of configuring endpoints in pure Java (without uri strings)

2017-08-04 Thread Claus Ibsen
Hi Yeah you can run Camel standalone with that main class or do it by yourself. One comment is that when you create the CxfEndpoint then you need to set the CxfComponent on this instance as well. Ideally you create the endpoints via the uri syntax, or via the component. For some camel component

Full example of configuring endpoints in pure Java (without uri strings)

2017-08-02 Thread Oliver Doepner
Hello, I am trying to use Camel using the pure Java approach (Java DSL, no DI framework, no URI Strings). My approach so far is like the simplistic sample below, but I am not sure if it uses proper practices. Can you please let me know if/what problems you see with this approach? Is there maybe