null expression for setting body to null?

2013-11-18 Thread Aki Yoshida
I would like to set the body to null using xml and would like do something as simple as ${null} I experimented with this idea and added this null-expression to the simple expression builder so that this expression works. But I was not sure if there is already another way to do this without introd

Re: null expression for setting body to null?

2013-11-18 Thread Claus Ibsen
What is the use-case for setting the body as null ? On Mon, Nov 18, 2013 at 11:59 AM, Aki Yoshida wrote: > I would like to set the body to null using xml and would like do > something as simple as > ${null} > > I experimented with this idea and added this null-expression to the > simple expressio

Re: null expression for setting body to null?

2013-11-18 Thread Aki Yoshida
One use case is for a request-response scenario using a jaxws provider (at camel-cosnumer) and when you want to return a null to this endpoint so that it can return an HTTP 202 response to the caller instead of returning some xml data which was in the body (i.e., using the rule described in jaws sp

Re: null expression for setting body to null?

2013-11-18 Thread Claus Ibsen
Hi Yeah we could add that ${null} function to the simple language. Then we dont introduce a new DSL which likely is overkill for a not so often use-case. On Mon, Nov 18, 2013 at 2:35 PM, Aki Yoshida wrote: > One use case is for a request-response scenario using a jaxws provider > (at camel-cos

Re: null expression for setting body to null?

2013-11-18 Thread Aki Yoshida
hi claus, thanks. regards, aki 2013/11/18 Claus Ibsen : > Hi > > Yeah we could add that ${null} function to the simple language. > Then we dont introduce a new DSL which likely is overkill for a not so > often use-case. > > > > On Mon, Nov 18, 2013 at 2:35 PM, Aki Yoshida wrote: >> One use case i