greenstar wrote:
When a POST arrives to an endpoint:
ie:
curl -d "x=1&y=2 http://localhost/foobar
The IN body is removed and the form params are moved to the message header.
How can I disable this feature?
Current camel-jetty component doesn't support to disable this feature by
doing some s
Hi,
I don't think current Spring DSL support this, but you can delegate the
predict to a bean[1] method just like this
http://camel.apache.org/schema/spring";>
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
this, like Groovy etc.
http://camel.apache.org/languages.html
On Fri, Apr 23, 2010 at 8:50 PM, Gareth Collins
wrote
jfaath wrote:
Well, I figured out the one issue with the pending messages. Guess I was
confused about the difference between a consumer (using "from") and a
producer (using "to").
Now I just have to figure out why the camel jms producer removes the message
body when sending the message to the q
Hi
You can build Camel fine with JDK 1.6, which we at FUSE have many
servers that do.
What OS, Maven are you using. And where do you get a failure?
And what mvn command do you use?
And have you read this page?
http://camel.apache.org/building.html
On Fri, Apr 23, 2010 at 10:01 PM, John J. Fran
Hi,
camel-jms consumer is based on Spring JMSMessageListenerContainer, after
digging the JMS message receiving code for a while, it's consuming one
message per session.
Willem
Monica_G wrote:
Hi,
How do sessions work with Camel? Is there only one message consumed per
session?
I've set th
Hi,
You need to make sure you install the SUN JDK 1.6.
Willem
John J. Franey wrote:
I build with java 1.6. Maven build fails. sun.com:tools:jar:1.5.0 is not
resolved. I do not have jre or jdk 1.5 installed. jdk 1.5 is not available
on the sun/oracle download site any longer, it is EOL. Wha
Why do you want to do this?
Do you want to send the request to another http server?
Willem
matthouston23 wrote:
Hi,
How to reproduce Basic Authorization HTTP header like this
byte[] authBytes = Encoding.UTF8.GetBytes("user:password".ToCharArray());
request.Headers["Authorization"] = "Basic " +
jfaath wrote:
I'm wondering if there is a way to retrieve the messageId of the message when
a producer sends a message to the queue. For example, let's say I have
these routes:
from("wherever").
// do lots of stuff
to("jms:queue:processed");
from("jms:queue:processed")
.choice()
.when(header("
Yes, send the request to another http server (like
http://server:port/file.php?param1=value1¶m2=value2...)
This is the only authentication mode supported.
Matt
willem.jiang wrote:
>
> Why do you want to do this?
> Do you want to send the request to another http server?
>
> Willem
> matthousto
Dear all,
I have a following question.
I have to generate many files based on sql query.
Let's say for example, I have get from database a list of orders made today
and genarate file for each order and later store each file on ftp.
Ideally I would like to get follewing.
Not quite sure how to ge
I think you got it already .
Just use the splitter eip for that.
Bye
Norman
2010/4/24, ChantingWolf :
>
> Dear all,
>
> I have a following question.
> I have to generate many files based on sql query.
>
> Let's say for example, I have get from database a list of orders made today
> and genarate
Dear all,
Well, let's say, we have a very simple bean:
import java.util.*;
public class MySplitterBean {
public List splitBody() {
List answer = new ArrayList();
answer.add("11");
answer.add("12");
return answer;
}
}
I want
willem.jiang wrote:
>
> Here is a way for you to work around this issue by extending the
> DefaultHttpBinding without calling the
> HttpServletRequest.getParameterNames() if the method is POST , then you
> set this binding into the JettyHttpComponent.
>
Thanks for the suggestion Willem. I'
14 matches
Mail list logo