Re: Camel-configuration

2013-05-21 Thread Claus Ibsen
Hi I suggest look at the getting started page http://camel.apache.org/getting-started.html And read chapter 1 of Camel in Action to learn more about Camel and see the simple example in this chapter. http://www.manning.com/ibsen/Camel_ch01_update.pdf And also read this article is a great to learn

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

2013-05-21 Thread Claus Ibsen
CamelContext.getProperty is NOT for property placeholders. You can use this method http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/CamelContext.html#resolvePropertyPlaceholders(java.lang.String) On Wed, May 22, 2013 at 6:22 AM, Vegi, Vamsi (MAN-Corporate-CON) wrote: >

RE: SSL : Server Certs and Client certificate passthrough

2013-05-21 Thread Siano, Stephan
Hi, I actually don't think that this can work at all. With SSL/TLS client certificate authentication the authentication is performed during the SSL handshake on socket level. The whole communication is encrypted and only the two communication partners will be able to decrypt it. If there are th

Camel-configuration

2013-05-21 Thread milan777
How could i make a simple programme using apache camel?? please write all simple steps.. i am very new to these technology -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-tp5732936.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enable disable routes at startup using Spring

2013-05-21 Thread Willem jiang
Hi, How about importing routes from other XML files[1]? You can put a dummy xml in you test resource directory which could be find first when you doing the POC or testing. When you want to run the route in production, you just need to make sure the dummy one is not in the class path. [1]http://

Re: HL7 v3

2013-05-21 Thread Hadrian Zbarcea
It v2 indeed. HL7 v3 is xml, therefore there are quite a few ways to deal with it in Camel. There are no pojos though modeling rim v3 and no marshaling/unmarshaling from hl7 v3 to pojos. I hope this helps, Hadrian On 05/21/2013 05:00 PM, RTernier wrote: I believe it's HL7v2; similar to HAPI.

Re: SSL : Server Certs and Client certificate passthrough

2013-05-21 Thread Willem jiang
Yeah, it is very complex, I don't think current camel-cxf can support it out of box. Can I know more detail about the web service that you proxy with Camel? Why do you need to pass the clients request with re-attached key to the back service? Can you just pass the client id of something and let c

Re: set string marshal encoding by a property-file

2013-05-21 Thread satspeedy
Hi Claus, thanks for your answer...I've resolved it differently...implemented several routes for any case. But I'll keep your answer in mind for next time. Thanks. Regards satspeedy 2013/5/17 Claus Ibsen-2 [via Camel] < ml-node+s465427n5732700...@n5.nabble.com> > You can always use the API

SSL : Server Certs and Client certificate passthrough

2013-05-21 Thread RTernier
My camel app is running pretty well, however it's using our unsecured webservice platform for development and PoC. I now need to change it so it works with our server certificates (x509) and use client certificate passthrough. We encrypt with the server cert. and use client certificates as a lock/

Re: HL7 v3

2013-05-21 Thread RTernier
I believe it's HL7v2; similar to HAPI. -- View this message in context: http://camel.465427.n5.nabble.com/HL7-v3-tp5732915p5732924.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sharing a solution for discussion

2013-05-21 Thread wagnermarques
ok, I see, but I am planning that this route would work actually in a one shot way indeed. The http://camel.465427.n5.nabble.com/Sharing-a-solution-for-discussion-tp5732560p5732917.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HL7 v3

2013-05-21 Thread Christian Müller
There is a Camel HL7 component [1]. I don't know which version we are using. May be you can check the source code... [1] http://camel.apache.org/hl7.html Best, Christian On Tue, May 21, 2013 at 6:28 PM, capzulu wrote: > Hello, > > I tried searching but didn't found an answer. > > Is HL7 v3 su

HL7 v3

2013-05-21 Thread capzulu
Hello, I tried searching but didn't found an answer. Is HL7 v3 supported by Camel? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/HL7-v3-tp5732915.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enable disable routes at startup using Spring

2013-05-21 Thread javaCzar
Willem, My error in the last post. Your assitance with the {{xxx}} naming was correct. The variable is being set correctly and can be accessed bia this naming. I thought is was not working because what I am seeing that with "autoStartup=false" the endpoint still initializes, just the incoming dat

Re: Enable disable routes at startup using Spring

2013-05-21 Thread javaCzar
Willem, I am loading the properties in a bean: public class PropLoader extends BridgePropertyPlaceholderConfigurer { ... Properties props = new Properties(); for (String prop : myProperties.getPropertyNames()) { if (prop != null) {

RE: how is the automatica type conversion happening

2013-05-21 Thread Vegi, Vamsi (MAN-Corporate-CON)
Thanks a lot, it's very useful feedback from all you. -Original Message- From: Christian Posta [mailto:christian.po...@gmail.com] Sent: Tuesday, May 21, 2013 10:00 AM To: users@camel.apache.org Subject: Re: how is the automatica type conversion happening As for configuring your own JAX

Re: cxf logging Feature Enabled to separate log file

2013-05-21 Thread Christian Müller
You can do this by configuring your logging system. With log4j, you can do this like this (replace xxx with the correct package name): log4j.logger.org.apache.cxf.xxx=INFO, anotherFile log4j.appender.anotherFile=org.apache.log4j.FileAppender log4j.appender.anotherFile.layout=org.apache.log4j.Pat

Re: how is the automatica type conversion happening

2013-05-21 Thread Christian Posta
As for configuring your own JAXB formatter, take a look at this page which shows how to use a bean defined in spring context http://camel.apache.org/jaxb.html On Tue, May 21, 2013 at 5:38 AM, Vegi, Vamsi (MAN-Corporate-CON) < vamsi.v...@manheim.com> wrote: > Thank you, > Well CompanyMsg is in

Re: Sharing a solution for discussion

2013-05-21 Thread Willem jiang
It will have nothing to do with camel, if you redirect the request to another location :) -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)

Re: how is the automatica type conversion happening

2013-05-21 Thread Willem jiang
There is a cache of the JAXB context, so the FallbackTypeConverter don't need to create a new one per request. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blog

Re: calling a non-"direct" consumer "directly"

2013-05-21 Thread Christian Posta
Don't think you can do specifically what you're asking.. i would do this... from("jetty:http://host:port";).to("direct:intermediate") from("direct:intermediate").to(.rest of your route.) That way you can break up your route into stages and have different endpoints (jetty, direct, jms

Re: Not Expiring JMS Messages with ActiveMQ / Camel

2013-05-21 Thread al94781
Brilliant. Thanks very much @ceposta. I'll try it now and post back (hopefully with a ) Cheers, Andrew -- View this message in context: http://camel.465427.n5.nabble.com/Not-Expiring-JMS-Messages-with-ActiveMQ-Camel-tp5732841p5732900.html Sent from the Camel - Users mailing list archive at N

Re: Camel Quartz and JobStore

2013-05-21 Thread mpaivafontes
Hello Claus, I'm already setting stateful=true and the data is getting modified properly. I've noticed that the IS_VOLATILE column might have something in this, but i've changed by updating the column manually but nothing happened. I'm using jboss7.1 and when i disable the app the data get dele

Re: Transactions in camel

2013-05-21 Thread Christian Posta
You should consider the redeliveryPlugin on the broker side that should help you with this: See bottom of this: http://activemq.apache.org/message-redelivery-and-dlq-handling.html On Mon, May 20, 2013 at 9:35 PM, srikanthsettivari < srikanth.settiv...@gmail.com> wrote: > Hi my route is like th

Re: sample camel program

2013-05-21 Thread Christian Posta
Yep, Fuse IDE might be your best bet. It might make sense to take a look at creating a camel project outside of eclipse just to understand what's going on. If you're familiar with maven, you can take a look at maven archetypes[1] and use some existing camel archetypes[2] to set up a project. Then

RE: how is the automatica type conversion happening

2013-05-21 Thread Vegi, Vamsi (MAN-Corporate-CON)
Thank you, Well CompanyMsg is indeed a JaxB annotated. it is generated by the XJC compiler. But here is the question: Does Camel creates the JaxBContext every time? You know, that is an expensive operation. I am talking about performance tuning here. If that was already taken care of, great. in

Re: Not Expiring JMS Messages with ActiveMQ / Camel

2013-05-21 Thread Christian Posta
Andrew, Maybe try setting your prefetch to 1 to see if the rest of the messages expire. Prefetch is basically a batch delivery to the consumer, with 1000 messages being default for queues. If messages are prefetched to the consumer then they cannot be expired (unless should have already been consid

Re: sample camel program

2013-05-21 Thread Jean Francois LE BESCONT
Hi, You can use http://fusesource.com/products/fuse-ide/ There are also example in the d istribution. JF 2013/5/21 nettome > Hi, > I'm new to camel and Im trying to create a sample program in eclipse ide.

Re: SQL component in 2.11.0

2013-05-21 Thread Darwish
Thanks ..its work now - Othman Darwish ProgressSoft Corp. -- View this message in context: http://camel.465427.n5.nabble.com/SQL-component-in-2-11-0-tp5732879p5732886.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sharing a solution for discussion

2013-05-21 Thread wagnermarques
About the creation of the SOAP message, I will take a look about data format, thanks. About javascript, the main purpose is provide a human response to the user. I think that it could be 1) a redirect to another location (possible another orbeon form) or 2) show a link to the user for he/her

sample camel program

2013-05-21 Thread nettome
Hi, I'm new to camel and Im trying to create a sample program in eclipse ide. However, i'm unable to do that. Im referring to spring in action book. Please can anyone help me with steps needed to make an app in maven using eclipse. Thanks -- View this message in context: http://camel.465427.n

Re: Securing jaxrs REST interface with HTTP Basic auth

2013-05-21 Thread Sergey Beryozkin
Hi I think it is more a Karaf-level question, where different JAAS contexts can be set up and such. Though I've heard one can have a two way TLS (client cert for our purposes) and also Basic Auth credentials combined in one request, example, when the same machine is shared between multiple us

Re: SQL component in 2.11.0

2013-05-21 Thread Christian Müller
Use dataSource=#myDataSource Best, Christian Sent from a mobile device Am 21.05.2013 11:29 schrieb "Darwish" : > Hi > > i upgraded my camel version from 2.10.1 to 2.11.0 recently and getting > bellow strange error when calling sql component from inside my route > builder > using procedure templa

Re: Not Expiring JMS Messages with ActiveMQ / Camel

2013-05-21 Thread al94781
OK, as I posted earlier, I can see the broker trying to expire messages, but nothing seems to expire. Is it because things as listed as "inflight"? (See below) I'm aware that my unit test harness might not be entirely realistic. Can anyone point out anything dumb I'm doing? The inbound message h

SQL component in 2.11.0

2013-05-21 Thread Darwish
Hi i upgraded my camel version from 2.10.1 to 2.11.0 recently and getting bellow strange error when calling sql component from inside my route builder using procedure template to do normal select statement ProducerTemplate producer = getContext() .createProducerTem

unable to propagate exceptions to global error handler from SedaConsumer

2013-05-21 Thread brnzn1
Hi, I am using Camel 2.10.4. I would like to retry from some exceptions like connection timeout, but anything else I would like to propagate to the global error handler (camel context error handler). I have the following spring context: http://camel.apache.org/schema/spring";>

Re: stream:file closeOnDone not close all time

2013-05-21 Thread Jean Francois LE BESCONT
Hi, Sorry if I spam ( I also speak in jira ) Hi, ( Sorry if I spam, I also speak in jira ) I have found a solution, based on the idea of send the exchange to both endpoint : public void configure() throws Exception { // Properties final String PROP_WRITE_IN_FILE_1 = "PROP_WRITE_I