Re: jetty:http dynamic uri in consumer (from)

2013-05-22 Thread Claus Ibsen
Hi You can maybe send the HTTP header Connection: Close To tell the resetlet server to close the connection. Its a standard HTTP header. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html On Thu, May 23, 2013 at 3:26 AM, paramjyotsingh wrote: > Hi Claus, > > I it does work with 'matchOnUri

RE: SSL : Server Certs and Client certificate passthrough

2013-05-22 Thread Siano, Stephan
Hi, Ok, so you actually do not really want to forward an SSL handshake or the certificate, but you want to select the client certificate you use for authentication based on the authenticated user of the request. I actually haven't done that (only selected the certificate used for client authent

Re: Reference OSGI Blueprint java.util.Properties service in Blueprint Camel property placeholder

2013-05-22 Thread Willem.Jiang
Hi I just have some time to revisit this issue and found you'd better to leverage the configure admin service which suppose to related the bundle when the configuration is changed. It will more powerful then you just pass the properties through the OSGi service. Willem -- View this message in

Re: jetty:http dynamic uri in consumer (from)

2013-05-22 Thread paramjyotsingh
Hi Claus, I it does work with 'matchOnUriPrefix' but if i used that i have to do special handling to extract PathParams. Just to continue with my original problem, i was using restlet as it supports dynamic parameters, for example:- if my uri on restlet is like http://localhost:9080/boxes/{boxId

Re: Camel Quartz and JobStore

2013-05-22 Thread mpaivafontes
Hello Chris Wolf, I don't think it could be a conflict problem since that the properties are been set correctly Anyway i'm going to check Thanks for reply -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Quartz-and-JobStore-tp5732853p5732982.html Sent from the Camel -

Re: ThreadPoolProfile Error in Camel 2.10.2

2013-05-22 Thread Christian Müller
Check out [1]. You have to use "" instead of "" [1] http://camel.apache.org/threading-model.html Best, Christian On Wed, May 22, 2013 at 7:48 PM, Edwin wrote: > Hi Folks, > > In earlier versions of Camel, I have used a ThreadPoolProfile associated > with a component i.e. Wiretap. To implement

Re: ThreadPoolProfile Error in Camel 2.10.2

2013-05-22 Thread Claus Ibsen
Hi No its not changed. The XSD is here: http://camel.apache.org/schema/spring/camel-spring-2.10.2.xsd The validation error should give you a little hint what is wrong. The ordering of the tags is often restricted, so maybe you need to move up or down. On Wed, May 22, 2013 at 7:48 PM, Edwin w

Re: Camel Quartz and JobStore

2013-05-22 Thread mpaivafontes
Hello garrydias, The data disapear during the CamelContext shutdown at the route shutdown. *14:43:19,421 INFO [org.apache.camel.spring.SpringCamelContext] (MSC service thread 1-7) Apache Camel 2.11.0 (CamelContext: infosender-scheduler-camelContext) is shutting down* 14:43:19,423 INFO [org.apac

ThreadPoolProfile Error in Camel 2.10.2

2013-05-22 Thread Edwin
Hi Folks, In earlier versions of Camel, I have used a ThreadPoolProfile associated with a component i.e. Wiretap. To implement this, I defined the ThreadPoolProfile within the Camel Context. i.e. I am now using using Camel 2.10.2. I am attempting to define the ThreadPoolProfile in

Re: Camel Quartz and JobStore

2013-05-22 Thread Chris Wolf
Don't forget that JBoss runs it's own instance of Quartz as a service. I'm not sure how you're configuring the JobStore implementation, but if it's via the quartz.properties and the JBoss instance of quartz reads the same properties, then maybe there's a conflict? On Mon, May 20, 2013 at 5:41 PM,

Re: ThreadPoolProfile for Camel Quartz Component

2013-05-22 Thread Claus Ibsen
Hi You need to configure this on Quartz itself http://www.quartz-scheduler.org/documentation/quartz-1.x/configuration/ConfigThreadPool On Wed, May 22, 2013 at 7:37 PM, Edwin wrote: > Hi Folks, > > I am using the Quartz component in a route. I have noticed many Quartz > Consumer worker threads

ThreadPoolProfile for Camel Quartz Component

2013-05-22 Thread Edwin
Hi Folks, I am using the Quartz component in a route. I have noticed many Quartz Consumer worker threads running from observing the logs. For my use case, it is desired to have only 1 Quartz worker thread. I do not see any options on the Quartz component to specify an executorServiceRef. If I def

Re: Enable disable routes at startup using Spring

2013-05-22 Thread javaCzar
Willem, Thanks for the assist. To aid anyone else that might follow this trhead, here is what I ended up implementing: start applicaiton with something like -Denvironment=dev or -Denvironment=prod main context xml uses: to import either "some-context-dev.xml" or "some-context-prod.xml" some-

RE: SSL : Server Certs and Client certificate passthrough

2013-05-22 Thread RTernier
Effectively we`re doing our own Man in the Middle attack - but it`s allowed due to firewall restrictions we have within our zone. This model will be changing in the future, but for now it`s required. -- View this message in context: http://camel.465427.n5.nabble.com/SSL-Server-Certs-and-Client-

RE: SSL : Server Certs and Client certificate passthrough

2013-05-22 Thread RTernier
Thanks for the responses guys. Willem - you're 2nd point is actually how we do it. Our reverse proxy is connecting to our own back end in a more secure zone. Effectively what I need: *Client sends the message* Client sends a SOAP message to our Camel-Reverse Proxy. The connection will terminate

Re: Camel Quartz and JobStore

2013-05-22 Thread garrydias
Hi mpaiva. The jboss 7 disable feature is not directly related to your issue. It seems your jboss7 disable procedure is shutting down your CamelContext and your quartz routes as well. Can u certify yourself if the tables data disapears at CamelContext shutdown? []s -- View this message in con

Re: sax parser issues with camel validator component

2013-05-22 Thread Christian Müller
Yeah, feel free to log an JIRA. Best, Christian Sent from a mobile device Am 22.05.2013 15:43 schrieb "Aki Yoshida" : > I think there is currently no way in camel to set the parser features for > the validator. And also for other xml parsers factories. > > If that is the case, we should add a me

Endpoint that appends to a Zip file

2013-05-22 Thread johannes.d...@codetrails.com
Hi, i am trying to get a route going, that appends all incoming Strings to a zip file. While i know how to write and append proper zip files, i am unclear how to get this going in Camel. I assume i have to create a new Endpoint. So far i tried to extend FileEndpoint and replace the FileOperations

Re: sax parser issues with camel validator component

2013-05-22 Thread Aki Yoshida
I think there is currently no way in camel to set the parser features for the validator. And also for other xml parsers factories. If that is the case, we should add a mechanism to set these properties. Maybe some system properties or/and component properties to overwrite the default values. any

RE: BridgePropertyPlaceholderConfigurer, could not get the properties, I searched the user forum but could not get the answer

2013-05-22 Thread Vegi, Vamsi (MAN-Corporate-CON)
Wonderful, works just fine System.out.println("camel context ready: " + getContext().resolvePropertyPlaceholders("sayHi") ); -thanks -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, May 22, 2013 2:55 AM To: users@camel.apache.org Subject: Re

Re: files disappeared between 2 routes

2013-05-22 Thread emmanuel
At the end of my java bean process I set my exchange body to : exchange.getIn().setBody(files, ArrayList.class); and just after use this part of code call my splitter processor bean : @Handler public List splitMessage(@Header(value = Exchange.FILE_NAME) String header, @Body List bodies) {

Re: files disappeared between 2 routes

2013-05-22 Thread Christian Posta
splitter will aggregate results by default: see the section "what splitter returns" at this wiki.. http://camel.apache.org/splitter.html could this be what you're seeing? On Wed, May 22, 2013 at 2:13 AM, emmanuel wrote: > Hello, > > I have a problem (used camel version: 2.8.4) between 2 routes

Re: Blueprint/@Produce

2013-05-22 Thread Christian Schneider
How do you initialize the ButtonProducer object? I am not sure if the annotation works with blueprint but in spring you would have to create a spring bean for the ButtonProducer. Christian Am 22.05.2013 13:24, schrieb Walzer, Thomas: Hi guys, I would like to send a message from a pojo to a

Blueprint/@Produce

2013-05-22 Thread Walzer, Thomas
Hi guys, I would like to send a message from a pojo to a blueprint route (Camel 2.10). Something along the lines: package net.integratix.camel.blueprint; public class ButtonProducer { @Produce(uri="direct:startRoute") ProducerTemplate producer; public void buttonPre

files disappeared between 2 routes

2013-05-22 Thread emmanuel
Hello, I have a problem (used camel version: 2.8.4) between 2 routes : I used a process java bean in a splitter : I have one big file on entry (around 2GB), make some processes on file and create 2 files with the splitter on exit. At the end of the splitter I have to push the files on file endpo

Re: Camel-configuration

2013-05-22 Thread Claus Ibsen
Hi You can watch this webinar - Building superior integrated applications with open source Apache Camel http://fusesource.com/resources/video-archived-webinars/ There is live demos of how to create a new Camel project from scratch and have it imported into Eclipse / Fuse IDE. You can also just s

Re: Camel-configuration

2013-05-22 Thread Thibault Cassan
Is this link sufficient then ? http://camel.apache.org/walk-through-an-example.html 2013/5/22 milan777 > Thanks clause.but there is not sufficient and simple information i need > steps for configurating camel into eclipse.. it would be better if u will > write simple steps or simple code fi

Re: Camel-configuration

2013-05-22 Thread milan777
Thanks clause.but there is not sufficient and simple information i need steps for configurating camel into eclipse.. it would be better if u will write simple steps or simple code files for "helloworld" or anything in camel...that will be very helpful for many people as well as me thanx in adva

Re: HL7 v3

2013-05-22 Thread Thibault Cassan
I would be interested in handling v3 with Camel, too. The only way I know is to get the XSD (if possible) that define the HL7 v3 format, and use the jaxb component to marshal/unmarshal. The problem is that I never found the XSD for HL7 v3, that's why I was hoping that Camel would upgrade the hl7 co