Re: Not seeing query params on REST DSL

2016-04-20 Thread Steve Huston
I am using Camel 2.16.3 and restlet. -Steve > On Apr 20, 2016, at 7:27 PM, John D. Ament wrote: > > Steve > > Could you share your dependencies as well? Which rest runtime are you > using? > On Apr 20, 2016 17:12, "Steve Huston" wrote: > >> I am

[Q] Adapters outbound communication / Java DSL

2016-04-20 Thread Goyal, Arpit
We are using Java DSL to define our routes which are nothing but pure 'outbound' communication i.e. from("direct://").to("sftp://.;) --> there is no processing and 'to' is currently SFTP, but eventually be SOAP, OData, REST and other protocols Questions: 1) How to capture

Re: Not seeing query params on REST DSL

2016-04-20 Thread John D. Ament
Steve Could you share your dependencies as well? Which rest runtime are you using? On Apr 20, 2016 17:12, "Steve Huston" wrote: > I am using the REST DSL in a Camel SCR unit test. I have a route (being > tested) that will initiate a http request at this URL: > >

Camel Bean binding

2016-04-20 Thread VinothKR
Hi, I have a custom log formatter and want to call that through Camel. LogFormat format = new LogFormat("identity", "component", "subcomponent"); FilterLogger logger = new UniversalFilterLogger(format); logger.debug("testHello", "testing"); //this debug method internally calls log4j logger.debug

Re: Loop through the files from FTP server and process

2016-04-20 Thread sc
Got it. Thanks Much for your help. -- View this message in context: http://camel.465427.n5.nabble.com/Loop-through-the-files-from-FTP-server-and-process-tp5781297p5781443.html Sent from the Camel - Users mailing list archive at Nabble.com.

Not seeing query params on REST DSL

2016-04-20 Thread Steve Huston
I am using the REST DSL in a Camel SCR unit test. I have a route (being tested) that will initiate a http request at this URL: @Test public void testRoutes() throws Exception { context.addRoutes(new RouteBuilder() { @Override public void

Re: Apache Camel RedHat Slidedeck?

2016-04-20 Thread jamie3
Thank you very much. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-RedHat-Slidedeck-tp5781433p5781441.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel RedHat Slidedeck?

2016-04-20 Thread Claus Ibsen
Hi Jamie I just pushed the slides to my slideshare at http://www.slideshare.net/davsclaus/developing-microservices-with-apache-camel On Wed, Apr 20, 2016 at 5:04 PM, jamie3 wrote: > Hi everyone, > > I am wondering if it is possible to get a copy of the slidedeck from this

Apache Camel RedHat Slidedeck?

2016-04-20 Thread jamie3
Hi everyone, I am wondering if it is possible to get a copy of the slidedeck from this presentation. https://www.youtube.com/watch?v=91UiQgazt3g Currently I work for a large company who uses expensive proprietary integration solutions. My goal is to showcase open source alternatives to the

Re: camel-cdi-test sendBodyAndHeaders not sending headers

2016-04-20 Thread craigmjones96
Hi, It seems it was something strange in my configuration... after following your example i slowly built up my test scenario from an easy situation (direct:in) to incorporating standard amq to then incorporating specific amq configuration we are using and was able to find the issue. I will

Re: Spring Boot and Camel 2.17 - HangupSupport Removed!

2016-04-20 Thread Luca Burgazzoli
https://issues.apache.org/jira/browse/CAMEL-9891 --- Luca Burgazzoli On Wed, Apr 20, 2016 at 2:44 PM, Luca Burgazzoli wrote: > mmh, yes if camel.springboot.main-run-controller is set to true, the > ApplicationReadyEvent is not sent, I will raise a JIRA > > --- > Luca

Re: Spring Boot and Camel 2.17 - HangupSupport Removed!

2016-04-20 Thread Luca Burgazzoli
mmh, yes if camel.springboot.main-run-controller is set to true, the ApplicationReadyEvent is not sent, I will raise a JIRA --- Luca Burgazzoli On Wed, Apr 20, 2016 at 12:56 PM, Hubertus.Willuhn wrote: > Hi, > > Trying out your last solution seems to work,

Camel not being able to start up if the RabbitMQ server using MQTT or STOMP is unavailable

2016-04-20 Thread nvbabu
ActiveMQ not being able to start up if the RabbitMQ server using MQTT or STOMP is unavailable. The way I replicate this problem is to: 1. Configure camel.xml to use MQTT or STOMP to a remote broker 2. Stop the remote broker (RabbitMQ) 3. Restart ActiveMQ Initially ActiveMQ starts but it then

[camle-http4] Posting data to IIS give me a 400 The request is badly formed.

2016-04-20 Thread Charlee Chitsuk
Hi, I'm using the Apache Camel 2.17.0, the "camel-jetty" and "camel-http4" as a proxy[1] to post a data to the dot NET / IIS7.0, It gives me a "HTTP Status 400 The request is badly formed". After investigating by enabling the trace for "http-client", I've found that the "camel-http4" put the

Re: camel-cdi-test sendBodyAndHeaders not sending headers

2016-04-20 Thread Antonin Stefanutti
I’ve just tried with the following test class: @RunWith(CamelCdiRunner.class) public class MyTest { @Inject private CamelContext context; @Produce(uri = "direct:in") private ProducerTemplate template; @Test public void test() throws Exception { String xml = "1";

Re: Spring Boot and Camel 2.17 - HangupSupport Removed!

2016-04-20 Thread Hubertus.Willuhn
Hi, Trying out your last solution seems to work, thx. *BUT*: I am now using your solution of my main() which looks like: @SpringBootApplication @Import(Config.class) public class App { private static final Logger LOG = LoggerFactory.getLogger(App.class); public static void

camel-cdi-test sendBodyAndHeaders not sending headers

2016-04-20 Thread craigmjones96
Hi, I am trying to use camel-cdi-test framework and it is working in all scenarios i have needed to test so far. However, now i need to send Headers in as part of my message to a route but when i inspect the Exchange as soon as it has entered to route (via a logEndpoint) the headers i provided

Re: Spring Boot and Camel 2.17 - HangupSupport Removed!

2016-04-20 Thread Luca Burgazzoli
In that case, you should set camel.springboot.main-run-controller = false And then something like: public static void main(String[] args) { LOGGER.info("God is creating App..."); ConfigurableApplicationContext context = new

Re: Spring Boot and Camel 2.17 - HangupSupport Removed!

2016-04-20 Thread Hubertus.Willuhn
Ok thx, thats correct doing: SpringApplication.run(YourMain.class, args); works but i need to call web(boolean) because of some dependencies i got (servlet things)... however after calling run() like: SpringApplication app = new SpringApplication(getClass()); // disable web "thinking"