Re: DefaultErrorHandler and "nested" routes

2013-09-12 Thread fbarbat
Hi, I cannot use a global onException because different actions have to be taken on different routes to handle the exceptions. Besides, I'm handling NoSuchElementException which is a very generic exception and handling should be restricted to a specific route. Just to be sure, OnException never h

RE: HL7 v3

2013-09-12 Thread capzulu
You can look up in Mirth Connect source code, as it was built using Java. De: tjsnell [via Camel] [mailto:ml-node+s465427n5739256...@n5.nabble.com] Enviada: quinta-feira, 12 de Setembro de 2013 12:49 Para: capzulu Assunto: Re: HL7 v3 The library we use for HL7 is HAPI (http://hl7api.source

Re: File renaming problems under Windows

2013-09-12 Thread bocamel
Christian, I am afraid my celebration of the fix might be a little premature. :-). This failure of renaming/deleting a consumed file error still occurs when I forced a org.apache.camel.component.bean.AmbiguousMethodCallException in the route. In other words, if the route receives a file from fi

Re: HL7 v3

2013-09-12 Thread Hadrian Zbarcea
Ed and I had a presentation at OSEHRA last week showing (among other things) how to use HL7 with Mirth and Camel. It's a bit tricky. As other said the camel-hl7 component is based on the hapi api with supports the version 2.x of HL7 wich is an EDI format, not xml. Afaik, most of the industry i

Stay in touch with me through LinkedIn

2013-09-12 Thread Eugenio Perrotta Neto
LinkedIn Willem.Jiang, I'd like to include you in my network to share updates and stay in touch. - Eugenio Eugenio Perrotta Neto Desenvolvedor Java at Giran Serra Area, Brazil Confirm that you know Eugenio Perrotta Neto: https://www.linkedin.com/e/-c2ht9p-hliewzqe-5i/isd/1651528

Stay in touch with me through LinkedIn

2013-09-12 Thread Eugenio Perrotta Neto
LinkedIn Willem.Jiang, I'd like to include you in my network to share updates and stay in touch. - Eugenio Eugenio Perrotta Neto Desenvolvedor Java at Giran Serra Area, Brazil Confirm that you know Eugenio Perrotta Neto: https://www.linkedin.com/e/-c2ht9p-hliewzlx-3d/isd/1651528

Re: WSDL-error

2013-09-12 Thread Aki Yoshida
you can check if the wsdl file is in the reported path D:\Program Files\fuse-esb-full-7.1.0.fuse-047\fuse-esb-7. 1.0.fuse-047\wsdl\SI_ID52_MaterialConsumption_async_outService3.wsdl and it's probably not there, so either you need to put it there or change the path to point to where the wsdl file

Usage of property-placeholders in the interceptFrom(String) method calls.

2013-09-12 Thread Steve
Hello Camel-Users, Can property placeholders be used in the URI supplied to the interceptFrom(String) method belonging to the RouteBuilder class? My apologies if this topic is covered by existing documentation; if so, I did not see it. I was reading CAMEL-5129 which addressed a similar issue, bu

Simple Language Question

2013-09-12 Thread Gershaw, Geoffrey A. (KFFC 223)
Hello, I am trying to print the size of a seda queue in a log statement. See my attempt below. I need to get hold of the Context so I can lookup the seda endpoint. I thought I could do this via the Exchange. I can seem to get a hold of that either. Anyone know how to get a reference to the Ca

Ignoring permissions errors on File (FTP/SFTP) consumers

2013-09-12 Thread Scott Parkerson
Supposing I had a route that consumed from a remote directory via SFTP. When files are dropped into this directory, they are usually the wrong permission until a cron job comes by to "fix" the permissions so that they are readable by the Camel file consumer. However, until the permissions are set

Re: DefaultErrorHandler and "nested" routes

2013-09-12 Thread Claus Ibsen
Move it outside the route so its context scoped onException instead. On Thu, Sep 12, 2013 at 4:29 PM, fbarbat wrote: > Hi, > > I have these routes: > > from("direct:a").routeId("1") > .onException(Exception.class).handled(true).to("direct:d").end() > .to("direct:b").to("direct:c"); > > from("dir

Re: Error when adding in camel route file

2013-09-12 Thread James Carman
Put it inside the element. It's from the same namespace. On Thu, Sep 12, 2013 at 10:21 AM, vsmahesh wrote: > Hi all, > > When I am using in my route I am getting the error [INFO] > Finished at: Thu Sep 12 17:16:32 EEST 2013 > [INFO] Final Memory: 15M/111M > [INFO] > ---

DefaultErrorHandler and "nested" routes

2013-09-12 Thread fbarbat
Hi, I have these routes: from("direct:a").routeId("1") .onException(Exception.class).handled(true).to("direct:d").end() .to("direct:b").to("direct:c"); from("direct:b").routeId("2").process(new ThrowingExceptionProcessor()); from("direct:c").routeId("3").process(new OkProcessor()); from("direct

Error when adding in camel route file

2013-09-12 Thread vsmahesh
Hi all, When I am using in my route I am getting the error [INFO] Finished at: Thu Sep 12 17:16:32 EEST 2013 [INFO] Final Memory: 15M/111M [INFO] [ERROR] Failed to execute goal org.apache.camel:camel-maven-plugin:2.10.0.fuse

Re: SFTP file retrieval does not work

2013-09-12 Thread Bengt Rodehav
It looks like the username hasn't been propagated to the server. I normally specify the user as follows: sftp://user@host?password=password According to the documentation your way should work too but perhaps there is a bug in the sftp component that prevents it from checking the "username" parame

Re: HL7 v3

2013-09-12 Thread Tracy Snell
The library we use for HL7 is HAPI (http://hl7api.sourceforge.net/index.html). Unfortunately it doesn't support V3. I'd also love to see V3 support. I'm going to dig for appropriate libraries and consider adding that functionality.

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Cecilio Alvarez
The example above will not write the same file again and again, when you set noop=true camel set idempotent as well. So this line is now: <--this don't consume the file, so I have always the message. Hope this help. -- View this message in context: http://camel.465427.n5.nabble.com/Keep-the-s

Re: About CXF-Camel Security header error

2013-09-12 Thread hutao1
I tried the method,but same error. javax.xml.ws.soap.SOAPFaultException: Exception occurred during execution on the exchange: Exchange[Message: http://schemas.xmlsoap.org/soap/envelope/";>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; xmlns:wsu="http://docs.oa

Re: About CXF-Camel Security header error

2013-09-12 Thread Colm O hEigeartaigh
You should have some "in" configuration somewhere that configures how security should be applied to a received message. See for example the "wss4jInInterceptor" bean here: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/c

Re: About CXF-Camel Security header error

2013-09-12 Thread hutao1
http://172.21.127.200:$";>http://172.21.127.200:${proxy.port}/camel-example-cxf-proxy/webservices/authMember"; endpointName="s:AuthenticateMember" serviceName="s:AuthenticateMemberService" wsdlURL="etc/AuthenticateMemberService.wsdl"

Re: WSDoAllReceiver: Incoming message does not contain required Security header

2013-09-12 Thread hutao1
but server service is cxf ,now error stack is: ID: 1 Response-Code: 500 Encoding: UTF-8 Content-Type: text/xml;charset=UTF-8 Headers: {Content-Length=[1393], content-type=[text/xml;charset=UTF-8], Server=[Jetty(7.5.4.v20111024)]} Payload: http://schemas.xmlsoap.org/soap/envelope/";>soap:ServerExcep

Re: WSDoAllReceiver: Incoming message does not contain required Security header

2013-09-12 Thread Colm O hEigeartaigh
Right, but the error message indicates an Axis error, so you must not be using CXF on the recipient side. Colm. On Thu, Sep 12, 2013 at 10:34 AM, hutao1 <279125...@qq.com> wrote: > hi,Colm > > use cxf 2.6.9 version > > error: > Stacktrace > >

Re: About CXF-Camel Security header error

2013-09-12 Thread Colm O hEigeartaigh
Where is the service inbound configuration, i.e. the configuration for "WSS4JInInterceptor"? Colm. On Thu, Sep 12, 2013 at 10:32 AM, hutao1 <279125...@qq.com> wrote: > > error info: > Stacktrace > >

SFTP file retrieval does not work

2013-09-12 Thread viktoria
Hi - I am trying to get some files from a remote sftp server. It does not give me any exception but does not work either. I am using Camel version 2.12.0, with Spring version 3.0.5. Using an ordinary sftp client (FileZilla) i am able to download the files. Here is my route (Spring-DSL): ft

Re: WSDoAllReceiver: Incoming message does not contain required Security header

2013-09-12 Thread hutao1
hi,Colm use cxf 2.6.9 version error: Stacktrace --- org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message:

About CXF-Camel Security header error

2013-09-12 Thread hutao1
error info: Stacktrace --- org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: http://schemas.xmlsoap.org

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Cecilio Alvarez
Finally I made it using content enricher, <-this override the file, so I always get the last one. <--this don't consume the file, so I have always the message. Finally I use file component, because its easier for users to open a simple xml file to se

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Claus Ibsen
Hi Since you use ActiveMQ you can also try with advisory messages and then see if that message has some details about last message enqued so you can use that to see if its the same or new message since last check. http://activemq.apache.org/advisory-message.html On Thu, Sep 12, 2013 at 10:37 AM,

Re: WSDoAllReceiver: Incoming message does not contain required Security header

2013-09-12 Thread Colm O hEigeartaigh
"WSDoAllReceiver" is an old WSS4J class used by Axis. Could you post the stacktrace on the Axis side or at least the configuration that the service is using? Colm. On Wed, Sep 11, 2013 at 11:10 AM, hutao1 <279125...@qq.com> wrote: > camel-config.xml : > > > class="org.apache.cxf.inter

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Cecilio Alvarez
Thanks for the tips, I will try it! -- View this message in context: http://camel.465427.n5.nabble.com/Keep-the-same-message-in-a-queue-after-consuming-it-tp5739214p5739235.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Claus Ibsen
Hi You can possible use the browse component and do a poll enrich to grab the top message (assuming you get the top message) http://camel.apache.org/content-enricher.html http://camel.apache.org/browse On Thu, Sep 12, 2013 at 10:10 AM, Cecilio Alvarez wrote: > Exactly that, keep procesing the

Re: Camel Certification

2013-09-12 Thread Claus Ibsen
Hi There used to be blackbelt which had online courses/certifications you could do. But apparently this has been shutdown as of 2013. On Thu, Sep 12, 2013 at 5:37 AM, Henrique Viecili wrote: > Hi everyone, > > I was looking for a certification on EIP and/or Camel and I found that > RedHat has

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Cecilio Alvarez
Exactly that, keep procesing the same message again and again until there's a new one. I know sounds strange for camel, but I need to write the same message until there's a new version. I tried with file component with let me override it. But I need to get the message in a producer. Many thanks :)

Re: Add xml extension to filename in file producer

2013-09-12 Thread Claus Ibsen
Hi Just set a header with the file name you want, for example the keep using he message id, setHeader(Exchange.FILE_NAME, constant("${id}.xml")) On Thu, Sep 12, 2013 at 9:41 AM, Mohammad Shadab Ali wrote: > Hi, > > File producer uses a unique id as file name when filename header is not set, >

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread James Strachan
I don't really grok what you're trying to do or why ;) Wanna explain it? You want to keep processing the same message again and again until there's another one? On 12 September 2013 08:40, Cecilio Alvarez wrote: > Thanks for the fast answer. > I can't send the message back, because that means if

Add xml extension to filename in file producer

2013-09-12 Thread Mohammad Shadab Ali
Hi, File producer uses a unique id as file name when filename header is not set, with no extension. My requirement is to add xml extension to the file in producer. Is there a way to configure this in the file producer. Thanks for your help. Regards, Shadab *

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread Cecilio Alvarez
Thanks for the fast answer. I can't send the message back, because that means if I send a new message to the queue example.A from file, the sent back message will be consume before. I would like to have something like a LIFO in the queue example.A. And If there is no new message, keep consuming the

Re: Keep the same message in a queue after consuming it.

2013-09-12 Thread James Strachan
The way to do this with messaging is either to rollback (to effectively cancel consuming it) or send the message again On 12 September 2013 07:56, Cecilio Alvarez wrote: > Hi, > is possible to consume a message from a queue in ActiveMQ and keep it in > the > queue for the next consumption of the

Re: spring ws camel

2013-09-12 Thread Mr.777
Any update guys? -- View this message in context: http://camel.465427.n5.nabble.com/spring-ws-camel-tp5739207p5739217.html Sent from the Camel - Users mailing list archive at Nabble.com.