WS with Camel CXF Jetty Guice - No Spring!

2012-11-01 Thread per.ullberg
Hi, I have an ESB based on Camel, Guice and Jetty. We're not doing any Spring at the moment and would like to save that can of worms for another day. But, Now I need to add an inbound CXF endpoint. All examples I can find is with Spring. Could someone point me to a good example or write one up f

Re: Trouble with split/tokenize on linux

2012-11-01 Thread Christian Müller
Will have a look at it later today... Sent from a mobile device Am 01.11.2012 03:03 schrieb "Raul Kripalani" : > Check your platform default Charset (not just the Camel one). Try writing a > little program that prints to System.out the default encoding as reported > by the static method of Charse

Re: consumerTemplate.receive function on same file hanging.

2012-11-01 Thread Claus Ibsen
On Thu, Nov 1, 2012 at 7:45 AM, demetrios wrote: > My original message file that is passed in is moved. Which I expect. > I require the need to read in the body of a subsequent file to feed into > other routes as part of my process depending on the contents of my original > message file. > So for

Re: WS with Camel CXF Jetty Guice - No Spring!

2012-11-01 Thread Willem jiang
Hi, You don't need to addition work to setup the bus as CXF bus can live without Spring. If you need to setup the bus, you may consider to call some CXF Java API to setup the features etc. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://

Call web service from Camel

2012-11-01 Thread mr.pohl
I would like to call web service from Camel. But I receive null everytime I call the service. Could you please help me finding a solution? The service is running on tomcat and I can test it with soapUI. Here is the request from SoapUI. and the response returns Hello Pavel. I followed the CamelI

Re: Call web service from Camel

2012-11-01 Thread Willem.Jiang
Hi, >From the routes those you showed us, I can see you need go through the camel-cxf wiki[1]. It shows you how to consume or produce the message through the camel-cxf component. [1]http://camel.apache.org/cxf.html Willem -- View this message in context: http://camel.465427.n5.nabble.com/Cal

Scala DSL Header

2012-11-01 Thread Sam (Stephen Samuel)
Hi all, How can I get the value of a header from an exchange using the Scala DSL. Maybe I'm going mad but in.header("header-name") gives me a variable of type HeaderExpression or HeaderLanguage (can't remember which) and I can't seem to get the "value" from that ?

Re: Scala DSL Header

2012-11-01 Thread Willem jiang
If you can access the exchange directly, you can use exchange.in("header-key") to access the in message header. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogs

Re: Scala DSL Header

2012-11-01 Thread Willem jiang
in.getHeader("header-name") should work for you. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://

Re: Camel Bean Component Behaviour in case of an InOut exchange

2012-11-01 Thread sushil_vsk5
Yes I am using a ProducerTemplate to send the message to the queue I also introduced a log step after my bean invocation but still I am facing the same issue. I can try with a stable release as suggested and will see of the issue persists Thanks -- View this message in context: http://camel.4

Re: multipart/alternative mail not recognized

2012-11-01 Thread Warringa, Stefan
Don, Know this is an old thread, but I'm running into the same problem with camel 2.10.0, javax.mail 1.4.5 and spring 3 consuming from an imap endpoint. Was wondering if you have written the MailBinding patch and if you could provide it here? Thanks, Stefan

Re: secondary dynamic endpoint to retrieve an item attached

2012-11-01 Thread sekaijin
thank you, We'll see options that escaped me. but in the case of MLLP, protocol or other I do not see very clean solution. We made a Processor that dynamically creates an endpoint to retrieve the attachment. I'm not sure this is the best solution. A+JYT -- View this message in context: http

Re: Scala DSL Header

2012-11-01 Thread Sam (Stephen Samuel)
exchange.in returns an Object, so there is no getHeader method available on that. There is an exchange.header but like I said it seems to return some DSL construct that I can't figure out how to get the value out of. On 1 November 2012 09:52, Willem jiang wrote: > > in.getHeader("header-name")

Camel-CXF strips all the xml elemets and attributes and send only data with whitespace

2012-11-01 Thread Sachin
Hi , While invoking a web service from SOAP UI tool, came across this problem. I am using Camel 2.9.1 with cxf 2.4.2. I have exposed my CXF web service using WSDL first approach in PAYLOAD mode as a camel route which consumes and message and do the further processing. Input Request from SOAPUI:

RE: external scheduler integration

2012-11-01 Thread bung_ho
One of the main reasons we can't use Quartz is because corporate already uses a scheduler of their choice, and they already have a lot of configuration in there such as holiday schedules (many many different holiday schedules in fact). Their scheduler is also already tied into the alerting system s

Re: WS with Camel CXF Jetty Guice - No Spring!

2012-11-01 Thread per.ullberg
Hi, Thanks... It is as you say. It was me not getting the url right... Had to do this though: *** package com; import com.google.inject.Inject; import com.google.inject.Injector; import org.apache.camel.CamelContext; i

Re: Using WebServiceMessageCallback in spring-ws producer

2012-11-01 Thread cgsk
Hello There, Could any help with using WebServiceMessageCallback in spring-ws producer, as I am trying to set dynamic http headers based on the incoming request messages. Regards, CGSK -- View this message in context: http://camel.465427.n5.nabble.com/Re-Using-WebServiceMessageCallback-in-sp

RE: An LDAP Consumer would be the LDAP server itself!

2012-11-01 Thread Ramkumar.Iyer
In fact was thinking about same thing. This will be very important. If LDAP hierarchy changes, then trigger an event to send email like applications in HR. I remember configuring and using secure ldap on linux which is like an object model. Looks like LDAP triggers exist (http://directory.apach

RE: external scheduler integration

2012-11-01 Thread Ramkumar.Iyer
We recently completed such integration with a commercial scheduler. We found that creating a content node using Apache Sling for various job states (pending, running, done) helped. We also had a problem with knowing when the job was done. So basically we poll using HTTP (curl URL) and get the st

Camel Roadmap

2012-11-01 Thread Flavio Magacho - M4U
Hi, did anyone knows where can I get a roadmap for the next Camel Releases? Thanks, Flavio Magacho Gerente de Desenvolvimento Diretoria de Tecnologia da Informação [cid:image001.gif@01CDB859.F346B570] M4U +55 (21) 2546-4050 ▪ Ramal: 4082 +55 (21) 8889-1572 þ Antes de imprimir, pense em sua respo

Re: Camel Roadmap

2012-11-01 Thread Christian Müller
On [1] you can see how ofter we release Camel in the past. At present, there is no committed date for the next release. But I'm sure we will see Camel 2.11.0 this year. [1] https://issues.apache.org/jira/browse/CAMEL#selectedTab=com.atlassian.jira.plugin.system.project:versions-panel&subset=-1 Be

Re: Camel-CXF strips all the xml elemets and attributes and send only data with whitespace

2012-11-01 Thread Willem.Jiang
Hi, It looks like you can get a right message body from camel from the exchange. Can you just pass the elements into converter without use clone, like this ? String documentString = converter.toString(inElements.get(0), exchange); Willem -- View this message in context: http://camel.46542

Implementing Producer for async subsystem

2012-11-01 Thread Simon Klempert
Hi, I'm implementing a Camel component which should integrate a rule based system (RBS, in my case JESS rules engine) into Camel. I need to run one instance of JESS for each endpoint of the component. The JESS instances are created in the Endpoints in seperate threads: One thread per endpoint r

CAMEL -JMS Request TimeOut

2012-11-01 Thread ravi.4indra
Hi, I am seeing the below behaviour with camel-jms component. inOut("jms:queue:quename?replyTo=queue1&requestTimeOut=3") to("direct:nextRoute"); I think requestTimeOut is the time camel will wait to get response from the queue. But I noticed that the total timeout for the route is set to 30

Re: JMS Component - Activation Spec

2012-11-01 Thread Patrick Bray
Thanks for your quick response Claus. I have read your book and it has been a great help in getting up and running using Camel. One quick question. I understand that camel-jms uses spring-jms under the hood and as such I am hoping that the below will be possible: I am hoping to extend the Default

Re: Implementing Producer for async subsystem

2012-11-01 Thread Willem jiang
Current we don't provide generic ReplyManager based on the exchange related id in Camel, I think you can take a look at the camel-jms component, JmsProducer[1] is using the ReplyManager to handle the response which can be related by the exchange id. [1]https://svn.apache.org/repos/asf/camel/t

Re: CAMEL -JMS Request TimeOut

2012-11-01 Thread Willem jiang
On Friday, November 2, 2012 at 11:30 AM, ravi.4indra wrote: > Hi, > > I am seeing the below behaviour with camel-jms component. > > inOut("jms:queue:quename?replyTo=queue1&requestTimeOut=3") > to("direct:nextRoute"); > > I think requestTimeOut is the time camel will wait to get respon