CXF Endpoint configuration via external properties file

2015-04-13 Thread ercan.canlier
Hello everybody, I am currently working on generic web service creation by defining CXF endpoints. I am really confused with spring placeholder. I can't get the variables from properties file when i would like to define CXF endpoints. I have searched here as well and found there was problem with ca

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread Claus Ibsen
On Tue, Apr 14, 2015 at 8:42 AM, niteshjain wrote: > i'm using RedHat Linux server 7.0 > camel-version: 2.12.0 > > and the file is not being picked nor renamed. > > *Cannot auto create starting directory: > /opt/boss-fuse-6.1.0.redhat-379/myfolder/&include=Sample.*xml* > You have configured the e

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
i'm using RedHat Linux server 7.0 camel-version: 2.12.0 and the file is not being picked nor renamed. *Cannot auto create starting directory: /opt/boss-fuse-6.1.0.redhat-379/myfolder/&include=Sample.*xml* -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-cam

Re: Bindy running within a WAR

2015-04-13 Thread Charles Moulliard
Hi Ravi, Have you tried to use the camel bindy "module" instead of packaging all the deps within the war file ( http://wildflyext.gitbooks.io/wildfly-camel/content/components/camel-bindy.html, http://wildflyext.gitbooks.io/wildfly-camel/content/start/index.html) ? Regards, On Mon, Apr 13, 2015 a

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread Claus Ibsen
Hi What OS and Camel version do you use? And what do you mean by not working, can you be more specific? Is the file not moved, not picked up or what else? And what do you do in the process file? If on windows then take care about closing all resources otherwise the file can be locked and cannot

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
The file names are "Sample-Test1.xml" "Sample-Test2.xml" and so on.. i also tried this 1. &include=*.xml?move=${file:name}.processed*" /> 2. &include=.*xml?move=${file:name}.processed*" /> 3.1. &include=\\.*xml?move=${file:name}.processed*" /> -- View this message in co

Re: Publishing events using Camel - best approach with example

2015-04-13 Thread Mark Frazier
http://camel.apache.org/recipient-list.html > On Apr 13, 2015, at 3:21 PM, hayden74 wrote: > > I want to use Camel to basically do the following asynchronously: > > - System A triggers newAccountCreated spring event > - System A - event handler pu

Re: Failed to connect to queue manager 'QUEUE-NAME' with connection mode 'Client' and host

2015-04-13 Thread yogu13
Hi, Looks like the placeholders (TOPIC-NAME,QUEUE-MANAGER) are not getting resolved during runtime... folks out here can help you incase you give more info like route definition, configuration etc Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Failed-to-c

Re: Bindy running within a WAR

2015-04-13 Thread RaviP
I'm facing the similar issue with my war. I'm using wildfly 8.2.0 & Camel 2.14.1. My route uses bindy to unmarshal csv to domain object. Junits are working & war deployed on tomcat also works. I'm getting the following exception when i deploy the war on wildfly 8.2.0 java.lang.IllegalArgumentEx

Failed to connect to queue manager 'QUEUE-NAME' with connection mode 'Client' and host

2015-04-13 Thread Gnana
I have developed subscripe (topic) conncept using Camel. it is working fine in my local tomcat.but it is not working in my test environment tomcat. it is getting below mentioned error. kindly help me to resolve the issue and how to debug the issue. is it related to server configuration ? Error --

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread yogu13
Hi, do your xml files to be picked start with a dot "." ? The File Consumer will always skip any file whose name starts with a dot, such as ., .camel, .m2 or .groovy. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to

Publishing events using Camel - best approach with example

2015-04-13 Thread hayden74
I want to use Camel to basically do the following asynchronously: - System A triggers newAccountCreated spring event - System A - event handler publishes the event to a Camel route "accounts" - Camel receives the event and delivers it to System X, Y and Z What is the best approach to implement th

Re: suggestions for HTTPClientPolicy setting

2015-04-13 Thread yogu13
These property implementations are mostly taken care by CXF. Please read CXF Client Properties Regards, -Yogesh -- View this message in context: http://

Re: Sending email - possible bug?

2015-04-13 Thread James Green
To be honest the documentation at http://camel.apache.org/dead-letter-channel.html is a little contradictory and could use some touch-ups: 1. Under "Redelivery default values" the service is turned off and has 0 maximumRedeliveries, yet later it says "By default Camel will try to process the excha

Re: Sending email - possible bug?

2015-04-13 Thread James Green
s/route/root/ that's habit creaking in for you. On 13 April 2015 at 16:12, James Green wrote: > An update: the email is sent just fine (I received it eventually). The > trouble is later on - the deadLetterChannel does not appear to log a stack > trace. > > An engineer here is currently scratchin

Re: Sending email - possible bug?

2015-04-13 Thread Claus Ibsen
The DLC do not magically include stacktraces. It sends the message as-is. If you want to include stacktraces / exception message or whatever you need to enrich the message before sending to the DLQ to include that. On Mon, Apr 13, 2015 at 5:12 PM, James Green wrote: > An update: the email is sent

Re: Sending email - possible bug?

2015-04-13 Thread James Green
An update: the email is sent just fine (I received it eventually). The trouble is later on - the deadLetterChannel does not appear to log a stack trace. An engineer here is currently scratching his head over this one - unable to see what the route cause is. Any ideas? On 10 April 2015 at 17:32, R

suggestions for HTTPClientPolicy setting

2015-04-13 Thread nono
I am using below code at client side to do one way ssl client is calling server , it seems to be working but not stable any suggestions for param setting especially something like setConnectionTimeout setAllowChunking setReceiveTimeout setConnection what do those param mean and how to use them in

Re: onException with Throwable.class

2015-04-13 Thread atg roxx
The camel version is 2.14.0. I did tried and the code is from that sample example. -Regards, atg roxx On Mon, Apr 13, 2015 at 2:48 PM, Claus Ibsen wrote: > Hi > > I cannot reproduce this with latest code. It would be good if you can > bulild a sample project or unit test that demonstrates the i

Re: onException with Throwable.class

2015-04-13 Thread Claus Ibsen
Hi I cannot reproduce this with latest code. It would be good if you can bulild a sample project or unit test that demonstrates the issue. On Mon, Apr 13, 2015 at 3:34 PM, Claus Ibsen wrote: > Hi > > What version of Camel do you use? > > > On Mon, Apr 13, 2015 at 12:45 PM, atg roxx wrote: >> Hi

Re: onException with Throwable.class

2015-04-13 Thread Claus Ibsen
Hi What version of Camel do you use? On Mon, Apr 13, 2015 at 12:45 PM, atg roxx wrote: > Hi Team, > > While working on my camel project and noticed (a bug perhaps ) that when you > add onException(Throwable.class) to your route, all exception go to this > onException(Throwable.class) block. > >

How to use Apache camel -file component to do a pattern match & rename the file

2015-04-13 Thread niteshjain
Wanted to know , how can i use camel file component to pattern match and get the file ending with .xml and then later rename it to filename.xml.processed. http://camel.apache.org/schema/spring";> . tried *file:{{TEST_HOME}}/myfolder&i

http endpoint throwing error PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException

2015-04-13 Thread aksvijayans
http://test.com/v2/location?key=ajAEAGOi52mKy4dBGXKxShHdkrtdes"; /> the above code should download the data from http url and store it in file,but it is throwing exception as bellow Note:The URL is not SSL org.apache.camel.RuntimeCamelException: javax.net.ssl.SSLHandshakeException: sun.secur

onException with Throwable.class

2015-04-13 Thread atg roxx
Hi Team, While working on my camel project and noticed (a bug perhaps ) that when you add onException(Throwable.class) to your route, all exception go to this onException(Throwable.class) block. Problem is explained in below scenerio. Scenerio 1 : does not work . onException(IrrecoverableExc

Re: transformers not working after update to 2.15.1

2015-04-13 Thread Claus Ibsen
Hi I have logged a ticket about the NPE https://issues.apache.org/jira/browse/CAMEL-8624 On Fri, Apr 10, 2015 at 3:42 PM, Hans Orbaan wrote: > Hi all, > > I am trying to update to 2.15.1 from 2.14.2 and am running into some trouble. > We have a lot of transformers that extend an abstractTransfor

Re: Async consumer (serial port component)

2015-04-13 Thread Claus Ibsen
Hi Only time for short comment Yeah you would hide all that inside the Camel component, so when you have a complete message you can emit that from the consumer. So that its a 1:1 message when Camel routes it. On Fri, Apr 10, 2015 at 2:52 PM, Christopher Piggott wrote: > https://github.com/wz2