Re: camel-jaxb namespace prefix

2012-05-07 Thread Claus Ibsen
On Mon, May 7, 2012 at 10:50 AM, Thomas Johansen wrote: > Thanks Yogesh, > > However I can't see that there is a way to do what is suggested in those > links: > > marshaller.setProperty(”com.sun.xml.bind.namespacePrefixMapper”, new > MyNamespacePrefixMapper()); > > as I can't reach the marshaller

Re: OSGi - CAMEL and Custom Namespace

2012-05-07 Thread Claus Ibsen
Hi Have you tried with 2.8.5 version of Camel ? On Mon, May 7, 2012 at 2:34 PM, PAC Kieffer Guillaume wrote: > Hi, > > I am using Camel (2.8.4) XML DSL on ServiceMix 4.4.1 (OSGi environment) > I created a bundle exposing a custom namespace; here is the blueprint file: > > http://www.osgi.org/xm

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-07 Thread Claus Ibsen
Hi Thanks for sharing your solution. On Mon, May 7, 2012 at 10:34 PM, bxkrish wrote: > Hi Claus, > > Apologies for the delayed reply. > > 1. For your second comment, "sometimes in Services industry we can only > recommend a particular software to our customers, however we have to settle > with

How to set the CRL path for Camel HTTP component?

2012-05-07 Thread yoleng
Hi, all Now we need add the CRL (certification revocation list) check in our Camel HTTP component as HTTP client, How can I set this to HTTP component? Thanks. Regards. Leng Yong. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-set-the-CRL-path-for-Camel-HTTP-component

Re: If camel-jetty/camel-http can dynamically load keystore/trustsore changes

2012-05-07 Thread yoleng
Hi,Yogesh Thanks for your suggestion. I did not select the load balancer. so only one instance in our component.:) also we did not control the client, but I can check the client guys how the behave of the client. So the sumarrization is: we could not dynamically load keystore/truststore. the on

How to send ack and then resume route with original message

2012-05-07 Thread barry_allen
Hello. I have a tcp endpoint defined with mina in which I receive a message from a server. I am constructing an acknowledgement message to let the sending server know that the message is received. However, I am unable to preserve the original message that was received so that it is available for pr

Re: Integration Testing Best Practices...

2012-05-07 Thread ychawla
Hi James, I am working through the exact same issue as you are now. One thing that has been really worthwhile to look into is 'adviceWith': http://camel.apache.org/advicewith.html You can weave around particular endpoints and either replace the endpoint or intercept the messages in and out of th

Re: multicast and setting header

2012-05-07 Thread ychawla
Hi Tyler, Are some of the headers in there but not all of them? If you want, you can use an aggregator with the multicast and set a custom aggregation strategy: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html This way you can

Re: CXFRS + Camel

2012-05-07 Thread Willem Jiang
What's your restClient looks like ? I just want to make sure you don't send the payload as part of http header. On Mon May 7 22:27:03 2012, henriqueo wrote: Hi.. this is the msg header restClient.addHeader("Accept", "application/xml"); restClient.addHeader("Content-type",

RE: SNMP traps - missing information in the Camel message?

2012-05-07 Thread Ed Manero
Correction to my original email. I meant to write that I do NOT work with snmp message very often. Ed -Original Message- From: Ed Manero [mailto:eman...@xmatters.com] Sent: Monday, May 07, 2012 5:07 PM To: users@camel.apache.org Subject: RE: SNMP traps - missing information in the Came

RE: SNMP traps - missing information in the Camel message?

2012-05-07 Thread Ed Manero
Hi Jonathan/Claus, It looks like there is a deficiency in camel-snmp. SnmpConverters.java only uses org.snmp4j.PDU.getVariableBindings() to construct a camel message based on snmp traps received by the component. However this is only supported for v2c and v3 type messages. Version 1 messages

Re: Help with RUNNING simple camel example with spring dsl without using maven

2012-05-07 Thread dmhatre
Thank you everyone for helping. But I already got these working. I just did what Mr.Rocco suggested. Thank you very much! -- View this message in context: http://camel.465427.n5.nabble.com/Help-with-RUNNING-simple-camel-example-with-spring-dsl-without-using-maven-tp5687107p5692407.html Sent from

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-07 Thread bxkrish
Hi Claus, Apologies for the delayed reply. 1. For your second comment, "sometimes in Services industry we can only recommend a particular software to our customers, however we have to settle with what is available in hand at the customer/client place." 2. Your first comment was helpful to make m

Re: camel-jsch in sink mode for one time copy from a remote host using SCP

2012-05-07 Thread Hadrian Zbarcea
Yes, I got the sink mode working in operations, still a few things to iron out. I will finish the private key first though. Thanks for the patience, Hadrian On 05/07/2012 11:02 AM, mohammadwrk wrote: hadrian wrote ...Give me one day to put some code together... Hi Hadrian, Did you get a

Re: File Processor Not deleting the files

2012-05-07 Thread rdifrango
OK...so it does not seem to fully correct the issue: public void configure() { from("file:perf?delete=true&idempotent=true").convertBodyTo(String.class) .split(body().tokenize("\n")).streaming()

Re: File Processor Not deleting the files

2012-05-07 Thread rdifrango
I'll try that and see if it works. I have attached my Scala and Java code for your review of course the user name and password are blanked out. http://camel.465427.n5.nabble.com/file/n5691459/JavaSplitPerfProcessor.java JavaSplitPerfProcessor.java http://camel.465427.n5.nabble.com/file/n5691459/

Re: File Processor Not deleting the files

2012-05-07 Thread Claus Ibsen
Hi I dont know what you do in those routes you call with the direct endpoint. But I suggest to load the file into memory in the start of the route. Then there is no input stream to the file handle in use, which otherwise could lock the file. You can add a .convertBodyTo(String.class) in the st

Re: File Processor Not deleting the files

2012-05-07 Thread rdifrango
I downloaded the snapshot version today and ran both my Java and Scala versions and it still appears to have the same problem. Here are the libraries that I used: camel-core-2.10-SNAPSHOT.jar camel-ftp-2.10-SNAPSHOT.jar camel-jdbc-2.10-SNAPSHOT.jar camel-jms-2.10-SNAPSHOT.jar camel-scala-2.10-SNA

Re: camel-jsch in sink mode for one time copy from a remote host using SCP

2012-05-07 Thread mohammadwrk
hadrian wrote > > ...Give me one day to put some code together... > Hi Hadrian, Did you get a chance to put together some code for this feature? Thanks, Mohammad -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsch-in-sink-mode-for-one-time-copy-from-a-remote-host-u

Integration Testing Best Practices...

2012-05-07 Thread James Carman
How are people going about integration testing of their Camel routes? We want to run them inside ServiceMix in our target environment. We are using input/output routes (defined using blueprint in the deploy directory) to initiate our integration tests and analyze the results. However, our testin

Re: CXFRS + Camel

2012-05-07 Thread henriqueo
Hi.. this is the msg header restClient.addHeader("Accept", "application/xml"); restClient.addHeader("Content-type", "application/xml"); -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-Camel-tp5688176p5691188.html Sent from the Camel - Users mailing list a

OSGi - CAMEL and Custom Namespace

2012-05-07 Thread PAC Kieffer Guillaume
Hi, I am using Camel (2.8.4) XML DSL on ServiceMix 4.4.1 (OSGi environment) I created a bundle exposing a custom namespace; here is the blueprint file: http://www.osgi.org/xmlns/blueprint/v1.0.0";>             http://www.company.com/xmlns/scs/v1.0.0"/>            

multicast and setting header

2012-05-07 Thread Tyler Durvik
I have a group of processors that I am sending messages to via multicast. Each processor will add a header to the message based on the what the processor needs to do. The problem is that not all headers are in the message after the multicast has completed. I have the multicast set to parallelpr

Re: CXFRS + Camel

2012-05-07 Thread Björn Bength
Hello, You most likely forgot to add the content-type header. If you don't, the body is beleived to be a header. Regards Björn On Mon, May 7, 2012 at 3:32 PM, henriqueo wrote: > Hi All, > > I´ve used POST and PUt methods. > I can log it, but I cant decrease payload.. > Any idea how can I increa

Re: CXFRS + Camel

2012-05-07 Thread henriqueo
Hi All, I´ve used POST and PUt methods. I can log it, but I cant decrease payload.. Any idea how can I increase buffer size? -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-Camel-tp5688176p5691044.html Sent from the Camel - Users mailing list archive at Nabble.com.

OSGi - CAMEL and Custom Namespace

2012-05-07 Thread PAC Kieffer Guillaume
Hi, I am using Camel (2.8.4) XML DSL on ServiceMix 4.4.1 (OSGi environment) I created a bundle exposing a custom namespace; here is the blueprint file: http://www.osgi.org/xmlns/blueprint/v1.0.0";> http://www.company.com/xmlns/scs/v1.0.0"/> h

Re: Stateful Dynamic Router

2012-05-07 Thread Markus Wolf
Sorry, for the late reply. Thanks for your help. :-) 2012/4/18 Claus Ibsen > Hi > > I took a look. If you use a bean with the dynamic router, then it > currently don't propagate the properties. > I have logged a JIRA so we will improve this > https://issues.apache.org/jira/browse/CAMEL-5189 > >

Re: How to bind an object in the registry camel?

2012-05-07 Thread sekaijin
HI I see a strange phenomenon in the constructor of routebuilder this.getContext().getRegistry() returns org.apache.camel.impl.*JndiRegistry*@5f393d and this.getContext().getRegistry().lookup("PhedraJaxb") returns org.apache.camel.converter.jaxb.JaxbDataFormat @ 1b3a2ad but in the configure() me

Re: CXFRS + Camel

2012-05-07 Thread Claus Ibsen
On Sun, May 6, 2012 at 7:51 PM, henriqueo wrote: > Hi, > > Im using camel 2.9.2, cxf 2.5.2 and msg length is 9984 bytes.. > Maybe you can log on the http level what you send to the CXF-RS service? I wonder if you use HTTP GET or HTTP POST. As well if you send the data chunked or not http://en.wi

Re: camel-jaxb namespace prefix

2012-05-07 Thread Thomas Johansen
Thanks Yogesh, However I can't see that there is a way to do what is suggested in those links: marshaller.setProperty(”com.sun.xml.bind.namespacePrefixMapper”, new MyNamespacePrefixMapper()); as I can't reach the marshaller through Camel's JaxbDataFormat. Cheers, Thomas 2012/5/4 ychawla > H

Re: Component file: move and moveFailed

2012-05-07 Thread Hilde
Hello Claus! Here comes the full camel route: java.lang.IllegalArgumentException javax.validation.ValidationException false Error reported - cannot proceed: ${exception.message} ${exception.stacktrace}