Re: CXF Endpoint accepts invalid SOAP-Envelope in POJO-Mode

2014-06-16 Thread Aki Yoshida
Hi Jonas, I created a jira ticket CXF-5805 at the CXF project and linked to this mail thread. thanks. regards, aki 2014-06-13 20:47 GMT+02:00 Aki Yoshida : > just a minute. > but this is likely to be not a camel issue but a cxf issue. > so could you wait a little bit. > thanks > > > > 2014-06-13

transacted and split camel route does not invoke onException

2014-06-16 Thread nbertram
I have a route that is transacted and split. The split calls a separate route to get some data via a CXF endpoint. When the CXF endpoint returns with an exception, the split group will stop but the exception never makes it into the onException handler of the split route. All the documentation and f

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread Pontus Ullgren
Hello, If I remember correctly you should use forward slashes '/' in the path when using the file component to access a UNC path on a windows network. But I could be wrong. I do not have any windows machines available to test. Also when using the file component camel will access the share as the u

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread sakchakravarthi
Hi Pontus Thanks for your resp. I used forward slash also. but it didnt work for me. Can you share any examples on camel-jcifs. I couldn't get any. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-locati

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread Pontus Ullgren
If you read the documentation there is examples: from("smb://f...@myserver.example.com/sharename?password=secret&localWorkDirectory=/tmp") .to("bean:foo"); Also you can have a look at the unit tests. https://camel-extra.apache-extras.org.codespot.com/git/components/camel-jcifs/src/test/java/org

Re: autostart routes not working correctly.

2014-06-16 Thread pbToe
Can someone please help out with this? -- View this message in context: http://camel.465427.n5.nabble.com/autostart-routes-not-working-correctly-tp5752196p5752332.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: autostart routes not working correctly.

2014-06-16 Thread Claus Ibsen
Hi Help yourself by following the guides at http://camel.apache.org/support On Mon, Jun 16, 2014 at 10:56 AM, pbToe wrote: > Can someone please help out with this? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/autostart-routes-not-working-correctly-tp5752196p575

RE: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
It is not the file but the directory on a shared location, in which you get this file from. You can map this directory as a map drive. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
I am using back slashes and it works fine. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-from-Shared-location-and-remote-file-location-tp5752233p5752338.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to use a public endpoint outside of camecontext?

2014-06-16 Thread simafengyun
Hi all, I have defined a public endpoint "dataSeda" and an routeContextwhich refer to the dataSeda in spring xml file /http://camel.apache.org/schema/spring"/> http://camel.apache.org/schema/spring";> rdList = (ArrayList)camel.context().getRegistry

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread sakchakravarthi
Hi akoufoudakis Can you give that example. and config needed if any. My Scenario is in Server1 folder fileLoc is shared one like \\Server1\fileLoc then from server2 using camel route I need to fetch file configFile.txt. I have tried like Then

Re: CXF Endpoint accepts invalid SOAP-Envelope in POJO-Mode

2014-06-16 Thread yuncil
Hi Aki, we were also astonished first. It took some time to realize that it's just the element-name. Thank you for your help. We will try it again when the issue is fixed. Regards -- View this message in context: http://camel.465427.n5.nabble.com/CXF-Endpoint-accepts-invalid-SOAP-Envelope-i

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
Hello, Ajit! We have a shared location, say "\\server\directory". This location is mapped in our staging machine as a network drive (e. g., W:). Then, I need to get a file from W:\from. So, my root is from("file:W:\\from").process(...).to("file:..."); May be, it is not a proper way to process fil

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
Hey! I just got a "revelation". It works fine with the server name. You would normally open a shared folder something like this: \\server\folder1\folder2. So, your route should look like: from(file:server\folder1\folder2?...).to("activemq:..."); Check it. I just tried and it worked. -- V

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
So, having it like this, you don't have to map anything. You just have to use server name prefixed by four back slashes (equivalent to two back slashes, but with proper escape characters). -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-fro

Unit testing from jms endpoint

2014-06-16 Thread mikaelfj
Hi, We are in the process of extending an integration from getting its inbound messages from a single queue to being able to get the inbound messages from two queues. The setup of the routes is straightforward by having from(queue1)... and from(queue2)... However, when running, one or both of th

Re: Unit testing from jms endpoint

2014-06-16 Thread Claus Ibsen
Hi Camel in Action book, section 6.3 talks about how to simulate errors in components/endpoints. On Mon, Jun 16, 2014 at 3:05 PM, mikaelfj wrote: > Hi, > > We are in the process of extending an integration from getting its inbound > messages from a single queue to being able to get the inbound m

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread sakchakravarthi
HI Thanks akoufoudakis, it worked for me as file:server/testDst?noop=true. aslo can you help me con camel-jcifs also how to use it. If possible please give some example with explanation. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-configuration-to-pick-up-file-

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread akoufoudakis
Glad that it works. As for JCIFS, I've never used it so far. So, I am not a big helper with specifically this component, unfortunately. However, you can start reading some docs about it:http://camel.apache.org/jcifs.html. They say, that it is an extension of the File2 component, so most probably,

Disable ReplyTo from processor OR Request-Reply pattern for topics

2014-06-16 Thread Serge Smertin
Greetings, I have a case of couple of nodes behind a cluster. There is randomly allocated backlog data. Most of the times load balancer hits correct node with required piece of data. But when it hits node without it - then it's bad. I don't want to use NFS as single point of failure. Initial thoug

Re: Camel 2.12.1 : How to send Http post with an attachment using ProducerTemplate

2014-06-16 Thread Shing Hing Man
I have tried your suggestion and it works.  Thanks! Shing On Monday, 16 June 2014, 3:10, Willem Jiang wrote: camel-http component support to send RequestEntity by default. If you want to send a file as a multi part form, you can just put the  MultipartRequestEntity instance into the mess

Re: Why do I get so many "external redeliveries" when using Camel with JMS topics?

2014-06-16 Thread Jeff Bischoff
Does nobody use Topics with Camel? They don't seem to work as expected. JB On 5/30/14 10:48 AM, "Jeff Bischoff" wrote: >Correction: > >1) Why would *CACHE_CONSUMER* on the ActiveMQComponent cause endless >external >redeliveries of a (filtered out) topic message, when with other cache >settings

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread Pontus Ullgren
As akoufoudakis say the jcifs component behaves like the File2 or FTP component. You can see some examples in the docs and also the test source code I send links to earlier. If you have questions about camel-jcifs please use the camel-extras mailing list (http://camel-extra.1091541.n5.nabble.com/)

Disable auto redirect

2014-06-16 Thread koritoss
Using camel 2.12.1. I am using timer component to send head request to a server uri as below. RouteBuilder builder = new RouteBuilder() { @Override public void configure() { from("timer://" + serverUrl + "?fixedRate=true&delay=0&period=" + period).routeId(routeId) .o

Re: Why do I get so many "external redeliveries" when using Camel with JMS topics?

2014-06-16 Thread Minh Tran
I have used topics in camel and they generally work the way I expect it. I would start by leaving the cache levels at the default and simplifying your route further. eg take out the choice and send it direct from topic to queue. Then add the choice but send it directly to the queue without the

Re: How to use a public endpoint outside of camecontext?

2014-06-16 Thread Willem Jiang
You should not use uri when you referent a endpoint. Please change the last to line of your camel route like this  ==> -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem

Re: Camel configuration to pick up file from Shared location and remote file location

2014-06-16 Thread sakchakravarthi
HI akoufoudakis/Pontus As I mentioned file was picked up from a shared folder which is present in my local machine. But same file:server/sharefiletest?fileName={{filename}}.txt is not working when server is a remote machine. Are u saying that in that case I need to use jcifs component right.