Hello all
i have a serverside camelapp in which i am exposing an http channel
which returns json data.
the problem i have is that one of the object i serialize contains a
timestamp, and this is how the object is beign serialized
[{"title":"[video] Tablet Boom: A Derivative
Play?","description":
ion ${in.header.jsonHeader} == 'foo'?
>
> The notation you are using is available as of Camel 2.9.2 as I mentioned in
> the other thread.
>
> Thanks,
> Raúl.
>
> Sent from a mobile device
> On Sep 22, 2012 7:14 PM, "Marco Mistroni" wrote:
>
> > Hello Raul
> &g
a look at [1] and you should be fine.
>
> I suggest you set the headers in the IN message, and Camel will take care
> of reusing the modified IN message for the next processor along.
>
> [1] http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
>
> Hope that he
are converted to lower case as Christian suggests, your
> routing rule should work because comparison also converts to lower case
> IIRC.
>
> The syntax in your expression is valid from Camel 2.9.2 onwards. What
> version are you on?
>
> - Raúl.
> On Sep 22, 2012 5:20 PM, "
Hi all
ignore my prev message, i am doing something dodgy somewhere
camel is working fine
sorry for bothering
w/kindest regards
marco
On Sat, Sep 22, 2012 at 5:20 PM, Marco Mistroni wrote:
> Hi all
> i have a camel processor which sets a header before passing the message
> to a
est", item.getLatestPrice().getLatestPrice());
>
> if(ptfData != null) {
> exchange.getOut().setBody(node);
> }
> --
>
> // Pontus
>
>
>
> On Sat, Sep 1, 2012 at 1:35 PM, Marco Mistroni
> wrote:
> > thanks a lot Pontus!
> &g
rom my phone
> Den 1 sep 2012 00:02 skrev "Marco Mistroni" :
>
> > HI all
> > i have a Jetty-Json route in my camel-app
> >
> > i submit JSON via python client, and i should return JSON back.
> >
> > i am using
HI all
i have a Jetty-Json route in my camel-app
i submit JSON via python client, and i should return JSON back.
i am using this configuration:
http://localhost:/myJettyService"; />
THe problem i have is the bean 'myJe
Hello Claus
thanks a lot for the tip!
w/kindest regards
marco
On Sat, Aug 25, 2012 at 9:02 AM, Claus Ibsen wrote:
> On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni
> wrote:
> > HI all
> > i have implemented exception handling in my
THanks a lot Yogesh, that's exactly what i was looking for..
w/kindest regards
marco
On Fri, Aug 24, 2012 at 2:54 AM, ychawla wrote:
> Hi Marco,
> I have had a similar situation. I grab the JSON input, unmarshall to a
> POJO, inspect the payload for a parameter, and then set a camel header fo
hello all
i have a camel-app in which i have configured a Jetty endpoint which will
handle JSON requests/responses to my application.
this is the simple config data associated with it
http://localhost:/myJettyService"; />
I was
t of view, its just all 3 processors in its
> output to process a copy of the same message.
> So it shouldn't matter if its a bean, seda, direct, jms, or whatever
> endpoint.
>
>
>
> On Sat, Jul 14, 2012 at 6:38 PM, Marco Mistroni
> wrote:
> > hello all
> >
gt;
> Best,
> Christian
>
> On Sat, Jul 14, 2012 at 6:38 PM, Marco Mistroni
> wrote:
>
> > hello all
> >i might be missingn something big here with regards to
> camel:multicast.
> >
> > I have following routes configure
hello all
i might be missingn something big here with regards to camel:multicast.
I have following routes configures with camel:multicast
Multicast works for the following route, where all the camel:to are seda
is just the default uri, if you do not specify
> any eg
>
> template.sendBody("Hello default channel");
>
>
> On Thu, Jun 7, 2012 at 11:36 PM, Marco Mistroni
> wrote:
>
> > hi all
> > i have a camel app in which i have exposed few JMX beans.
> >
&g
hi all
i have a camel app in which i have exposed few JMX beans.
I want to be able to send a message to a channel via my JMX bean.
I have read the POJO Producing info here
http://camel.apache.org/pojo-producing.html
and at the moment i am doing this in my JMX bean
@EndpointInject(uri="seda:t
error while
learning how to test routes offline :)
I m starting to love camel :)
thanks and sorry for my noise
rgds
marco
On Sat, Apr 14, 2012 at 12:11 PM, Marco Mistroni wrote:
> Hello Claus,
> sorry to bother, but i am still losing the plot with Exception Handling :(
> i read Camel
ception(Map in, String payload, Map out) {
LOGGER.info("---Handling exceptions:");
//exceptions.add(exception);
}
But somehow that method is never called...
am i using the right signature?
what am i forgetting?
w/kindest regards
marco
On Thu, Apr 12, 2012 at
thaks Claus for the useful advices
rgds
marco
On Thu, Apr 12, 2012 at 8:40 AM, Claus Ibsen wrote:
> On Wed, Apr 11, 2012 at 9:15 PM, Marco Mistroni
> wrote:
> > Hello Claus
> > thanks for the reply!
> > mm i may be confusing the terminology sorry :(
> >
&
approaches to handle
exceptions in endpoints?
w/kindest regards
marco
On Wed, Apr 11, 2012 at 6:47 AM, Claus Ibsen wrote:
> On Tue, Apr 10, 2012 at 10:46 PM, Marco Mistroni
> wrote:
> > Hello all
> > i'd like to be able to handle exceptions at Endpoints in my
Hello all
i'd like to be able to handle exceptions at Endpoints in my app (as most
of the exceptions happen when endpoints are processing data).
as i plan to deploy my camel app remotely, i'd like to handle the exception
so that an email with the exception is sent to me.
i found out this thread w
HI all
i plan to deploy my apache camel app remotely, and i would like to
configure an error handler so that , when an exception happens,
it sends me an email with the exception details.
I have read camel error handling docs, and i guess the best approach for me
would be to use a deadLetterErrorH
t is possible.
> >> You can use the camel-jetty component to listen to http requests and the
> >> json dataformat to serialize, deserialize.
> >>
> >> Christian
> >>
> >> Am 01.04.2012 17:17, schrieb Marco Mistroni:
> >>
> >> Hi all
> >&
run the camel side as a standalone java
> application. Yes that is possible.
> You can use the camel-jetty component to listen to http requests and the
> json dataformat to serialize, deserialize.
>
> Christian
>
> Am 01.04.2012 17:17, schrieb Marco Mistroni:
>
> H
Hi all
i have a standalone camel application.
I want to be able to have a json client which calls camel app and gets back
a camel response.
Is that possible, without having a camel application runs as part of a .war
application?
w/kindest regards
marco
25 matches
Mail list logo