Re: jetty:http component "mangles" x-www-form-urlencoded POST in message:

2010-04-26 Thread Willem Jiang
greenstar wrote: willem.jiang wrote: Thanks for your patch. I will review you path today and will keep you posted. Thanks. I wonder if we can go further and provide more robust features/options for when the http endpoints are used for "proxying". For example, it would be nice if the form

Re: jetty:http component "mangles" x-www-form-urlencoded POST in message:

2010-04-26 Thread Willem Jiang
greenstar wrote: willem.jiang wrote: I just have a quick thought, how about using camel-mina component to do the http proxy. In this way, it just do the tcp layer work and will not get touch with headers and body. In my particular case, I am doing various types of HTTP-level processing bef

Re: Retreiving messageId from JMS queue

2010-04-26 Thread jfaath
It's a requirement for the project so the message can be referred to in the queue. It seems a little cumbersome to view the message in the queue so I'm going to see if I can get the requirements changed. Thanks for the reply willem.jiang wrote: > > jfaath wrote: >> I'm wondering if there is

Re: Remote broker message behavior

2010-04-26 Thread jfaath
The message is in the proper queue, I just can't see the XML when viewing through the ActiveMQ console. I'm hoping to convince the project manager to view the message by a different means making this issue moot. Thanks for the reply. willem.jiang wrote: > > jfaath wrote: >> Well, I figured ou

Recieving BlobMessages routed with Camel

2010-04-26 Thread GibKing
Hi everyone, i like to send files over ActiveMQ using the following setup. Code snippet to send the file: BlobMessage message = session.createBlobMessage(inputStream); message.setJMSType("Filetransfer"); message.setStringProperty("Filename", filename); ActiveMQQueue queue = (ActiveMQQueue) sessi

Re: camel-example-etl and ant won't run

2010-04-26 Thread thesamim
willem.jiang wrote: > >> camel-example-spring-javaconfig Fails with: >> package org.apache.camel.osgi does not exist >> package org.apache.camel.spring.javaconfig does not exist >> package org.springframework.osgi.context does not exist >> > « [hide part of quote] > It only work with Spri

Re: jetty:http component "mangles" x-www-form-urlencoded POST in message:

2010-04-26 Thread greenstar
willem.jiang wrote: > > I did some refactoring on current DefaultHttpBinding[1], now you can > override the populateMessageHeader in your HttpBinding. > > [1] https://issues.apache.org/activemq/browse/CAMEL-2673 > Perhaps DefaultHttpBinding should be changed to leave "application/x-www-form

Re: CAMEL Spring Equivalent of body().isInstanceOf(AddEndpointNotificationMessage.class)

2010-04-26 Thread Gareth Collins
Hello, I tried it out and it worked. Thanks very much! regards, Gareth Claus Ibsen-2 wrote: > > Hi > > See the Camel expression language which is called Simple. It can do this > http://camel.apache.org/simple.html > > Otherwise you can choose any of the scripting language which can do > thi

Re: camel-example-etl and ant won't run

2010-04-26 Thread Willem Jiang
thesamim wrote: willem.jiang wrote: camel-example-spring-javaconfig Fails with: package org.apache.camel.osgi does not exist package org.apache.camel.spring.javaconfig does not exist package org.springframework.osgi.context does not exist « [hide part of quote] It only work with Spring

Re: jetty:http component "mangles" x-www-form-urlencoded POST in message:

2010-04-26 Thread Willem Jiang
greenstar wrote: willem.jiang wrote: I did some refactoring on current DefaultHttpBinding[1], now you can override the populateMessageHeader in your HttpBinding. [1] https://issues.apache.org/activemq/browse/CAMEL-2673 Perhaps DefaultHttpBinding should be changed to leave "application/x-w