Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Gerald Kallas
The idea is to define a servlet once and to re-use it with it's context in multiple routes in different Blueprint files. Best Gerald > Gerald Kallas hat am 18.08.2020 22:35 geschrieben: > > > Thanks a lot, Daniel. It works. > > Is it possible to refer to a servlet that has been defined in a

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Gerald Kallas
Thanks a lot, Daniel. It works. Is it possible to refer to a servlet that has been defined in another Blueprint file? Best Gerald > Daniel Langevin hat am 18.08.2020 14:29 > geschrieben: > > > Try this it's work for me. > > > > bindingMode="json" scheme="https" port=

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Daniel Langevin
Try this it's work for me. apiisp001 - Echo rest service APIISP001 - Connectivity test /APIISP001/echo PONG. Daniel Langevin Direction de l’assistance e

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Gerald Kallas - mailbox.org
This did the trick. Many thanks, Alex :) Sent by my mobile device - Gerald Kallas > Am 18.08.2020 um 18:48 schrieb Alex Soto : > > I think you are missing: > > >http://www.osgi.org/xmlns/blueprint/v1.0.0"; >> >> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Alex Soto
I think you are missing: http://www.osgi.org/xmlns/blueprint/v1.0.0"; > > xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > > xsi:schemaLocation="http://

Re: How to configure shutdown timeout

2020-08-18 Thread Alex Dettinger
Hi Alex, It seems the timeout is tuned after the context creation. One may achieve the desired result with either: @Override protected void doPostSetup() throws Exception { context.getShutdownStrategy().setTimeout(60); } OR MAYBE @Override protected int getShutdowntimeout() { return 60; } h

How to configure shutdown timeout

2020-08-18 Thread Alex Soto
Hello, Using Camel 3.4.0, in my unit test, I am trying to configure the shutdown timeout doing the following: public class MyTest extends CamelTestSupport { . . . @Override protected CamelContext createCamelContext() throws Exception {

Re: Camel Salesforce Component & Plugin Issues

2020-08-18 Thread Jean-Baptiste Onofre
Hi Jean-Marc, Did you create a Jira about that already ? Do you use the maven plugin to generate the DTOs ? Regards JB > Le 17 août 2020 à 19:38, Jean-Marc Reynaud a > écrit : > > Dear Camel Team, > > > I'm facing a bit of a show-stopper with the Camel Salesforce Component. > > > The SOQ

Re: Rép. : Camel REST DSL with servlet - API URL?

2020-08-18 Thread Gerald Kallas
Thanks for the hint. But it doesn't work either. I modified my Blueprint as following http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"