Re: How to specify a time zone for camel-quartz

2011-08-15 Thread Claus Ibsen
On Mon, Aug 15, 2011 at 8:50 AM, Bengt Rodehav wrote: > I have previously been using the Quartz support in ServiceMix 3.x. In those > configurations we always specified the time zone as a separate property. > Since a while back we've migrated to Camel and thus use camel-quartz for > this. We curre

Re: Configuring a CXFRS client used in a Camel route with Proxy server

2011-08-15 Thread Seumas Soltysik
Thanks, I will give it a try and let you know what I find. Regards, Seumas On Aug 15, 2011, at 2:52 AM, Willem Jiang wrote: Hi Seumas, Can you try to change the code of getBus() == null to bus == null ? That is how I fix the issue of CXF-3734, as the getBus() will return a default bus to use

Re: Problem stopping (activemq to activemq) route - inflight messages

2011-08-15 Thread oseymen
Hi Claus, Yes, I already did that before posting my question. I've setup DefaultShutdownStrategy to wait inflight operations for 10 seconds and shutdown. This can be seen in the log between lines 203 and 237. The problem is after 10 seconds, I still get DEBUG messages from Camel trying to access

NotifyBuilder condition fails to match on an out/activemq endpoint

2011-08-15 Thread Claus Ibsen
On Mon, Aug 15, 2011 at 10:34 AM, wrote: > Hi, > > Thanks for the quick turn around - what is the ETA for the official release > of 2.9? > There is no ETA on 2.9. Usually the is about 3 months between each release. > I'm guessing I can just download the 2.9 snapshot build and try the new > fe

how to invoke webservice with wsdl or not in camel?

2011-08-15 Thread xiangqiuzhao
i need to send message to webservice server, like from("direct://test").process().to("cxf://...") i have get the remote webservice wsdl, and i know what service name i will invoke, how to write the "to" URI? and if i have not the wsdl, and i know the webservice adress, service name, input and out

Semantics of JMSReplyTo between Camel 2.2 and 2.8

2011-08-15 Thread Scott Parkerson
Folks, Somewhere along the way, the semantics of setting the "reply to" in a message header has changed. Background: In 2.2.0, I used to be able to send a message to a queue (specifically, the ActiveMQ.Statistics.Destination.> wildcard queue), which would trigger n responses, n being the number o

Idempotent Repository and recursive=true

2011-08-15 Thread AlexRWD
Hello! I have following route: from("file://" + issuerProfileFromPath + "?noop=true&delete=false&recursive=true&idempotent=false&idempotentRepository=#fileLastModifiedRepository").to("file://" + appDirectory + "/" + ConfigurationManager.getString("signingportal.issuer.profiles.destination")); In "

Re: Split large file into small files

2011-08-15 Thread jeevan.koteshwara
Thanks a lot Clause. Within the borders of my requirement the first approach (which you mentioned above) looks very much implementable. Thanks and Regards, Jeevan Mithyantha. -- View this message in context: http://camel.465427.n5.nabble.com/Split-large-file-into-small-files-tp4678470p4701406.h

Re: Idempotent Repository and recursive=true

2011-08-15 Thread Claus Ibsen
Hi What version of Camel are you using? And you should enabled idempotent=true, as that is what you intend to use. On Mon, Aug 15, 2011 at 5:05 PM, AlexRWD wrote: > Hello! > I have following route: > from("file://" + issuerProfileFromPath + > "?noop=true&delete=false&recursive=true&idempotent=

Routing socket input to file output doesn't work

2011-08-15 Thread Tereza Nedelescu
Hi, I am trying to route the input coming from a socket to a file. The Spring code is the following: This is how I try to send data to the socket from bash: cat test 111 2

two way communication with TCP server using Netty

2011-08-15 Thread Namaste Reid
I have a program running on a remote host to which I need to connect, handshake, and then listen for messages. I have setup the following camel route: My question is how do I make this work? If I establish the route using `` i

Re: two way communication with TCP server using Netty

2011-08-15 Thread Tereza Nedelescu
I have a similar question. See http://camel.465427.n5.nabble.com/Routing-socket-input-to-file-output-doesn-t-work-td4702177.html -- View this message in context: http://camel.465427.n5.nabble.com/two-way-communication-with-TCP-server-using-Netty-tp4702360p4702437.html Sent from the Camel - Users

Re: From http4 via md5checksum to FTP: file cache or streaming ?

2011-08-15 Thread wing-tung Leung
2011/8/12 Magnus Palmér : > I would make your md5bean return a file. > Not sure if the current Jira issue of not cleaning (deleting) the file until > JVM stops will apply for you then or not. Well, the MD5 processor would probably need to dive into the InputStream implementation (Camel specific)

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-15 Thread Tereza Nedelescu
Hi, Yes, I will gladly contribute in a few weeks, but now I have to finish a project and I want to get it working first. I solved the socket issue I mentioned earlier, it was from the firewall. Now I have this Spring code:

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-15 Thread Tereza Nedelescu
Also, what I am trying to do in this example is to send passive checks to Nagios. Is this the correct way to do it ? Thank you -- View this message in context: http://camel.465427.n5.nabble.com/Sending-Nagios-Passive-Checks-from-Spring-HowTo-tp4694564p4702785.html Sent from the Camel - Users mai

Re: Sending Nagios Passive Checks from Spring - HowTo ?

2011-08-15 Thread Tereza Nedelescu
I fixed the problem. Data is being sent from Camel to Nagios, but there is an incompatibility with the Nagios protocol, so Nagios is not getting it. -- View this message in context: http://camel.465427.n5.nabble.com/Sending-Nagios-Passive-Checks-from-Spring-HowTo-tp4694564p4702956.html Sent from

Re: how to invoke webservice with wsdl or not in camel?

2011-08-15 Thread xiangqiuzhao
this is my wsdl generate the request in soap ui: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:iws="http://www.wstest.sunyard.com/IWSTestService/";> test test12 so i write my program like

Re: Routing socket input to file output doesn't work

2011-08-15 Thread Claus Ibsen
Hi You need to enable the textline codec on netty endpoint http://camel.apache.org/netty                         On Mon, Aug 15, 2011 at 10:00 PM, Tereza Nedelescu wrote: > Hi, > > I am trying to route the input coming from a socket to a file. > The Spring code is the following: >            

Re: Get raw string from header without decoding?

2011-08-15 Thread Christian Müller
Hello Martin! With the system property 'org.eclipse.jetty.util.URI.charset' you can define the charset Jetty will use. System.setProperty("org.eclipse.jetty.util.URI.charset", "ISO-8859-1"); But I still didn't have it working. I will have a look into the Jetty unit tests... Best, Christian

cxf uri can't use wsdlURL=classpath:file.wsdl?

2011-08-15 Thread xiangqiuzhao
my cxf from endpoint uri like "cxf://http://localhost:8000/SCCS?dataFormat=PAYLOAD&wsdlURL=classpath:IWSService.wsdl";, but start camel error as: The service name of "the URI" is empty, cxf will try to load the first one in wsdl for you. i put the IWSService.wsdl in the classpath. -- View this

Re: how to invoke webservice with wsdl or not in camel?

2011-08-15 Thread Willem Jiang
If you just want to send the soap envelop to the back end service, you just need to use the MESSAGE data format. If you don't want to use the WSDL, you can consider to use camel-http component instead of camel-cxf component. Willem On 8/16/11 10:43 AM, xiangqiuzhao wrote: this is my wsdl gene

Re: Idempotent Repository and recursive=true

2011-08-15 Thread AlexRWD
We are using camel 2.6.0 because we have Java 1.5. Sorry, I wrote a liittle bit wrong code - I actually set idempotent to true. I set in "from" such path: c:/newProfile. I encountered that method "contains" of my idempotent repository receives only String "c:\\newProfiles\\issuer". But in folder "i

Re: cxf uri can't use wsdlURL=classpath:file.wsdl?

2011-08-15 Thread Willem Jiang
You doesn't specify the serviceName and portName in the URI, CXF will look up the first one in the wsdl definition for you. I suggest you take a look at the camel-cxf wiki page[1] before you write some test. [1]http://camel.apache.org/cxf.html On Tue Aug 16 14:29:35 2011, xiangqiuzhao wrote: