Use Reflection or easier - one of the existing libraries
https://code.google.com/p/cloning/
http://www.genericdeepcopy.com/
Jan
> -Ursprüngliche Nachricht-
> Von: ychawla [mailto:premiergenerat...@gmail.com]
> Gesendet: Montag, 7. Juli 2014 20:03
> An: users@camel.apache.org
> Betreff: Re
Hi Guys,
Any hints on writing a processor that will do a deep clone? I am running
into the same issue.
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Concurrent-problem-with-message-Body-using-WireTap-tp5502505p5753470.html
Sent from the Camel - Users mailin
I just found camel-cxfrs can set the content-type even with get request. Maybe
you can consider to use camel-cxfrs instead of camel-http4 component to that
job.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chine
Here are the answers for you questions.
Q1. The default camel thread pool is using CachedThreadPool which means it
doesn’t set up the thread size.
Q2 If the calling thread is blocked, it still there, thread pool doesn’t reuse
it.
That could explain why you got the OOM error.
If you setup the
cxfbean is suppose to invoke the service implentation object directly.
You use case is just like a proxy, my suggestion is you can just delegate the
request to back end service by using camel-http component directly. You don’t
need to use camel-cxfbean this time.
--
Willem Jiang
Red Hat, Inc.
Hi,
You just store the cron-jobs into the same db, but this job could be create by
different camel context as you start two camel context as a cluster.
So that could explain why the cron-jobs sometimes do work and sometimes don’t.
If the camel context get the job that it create, it can work, but
I was able to get this (Restlet -> CXF SOAP web service call) to work. Just
had to make sure that the following line was
there...exchange.getIn().setHeader("org.restlet.http.headers", "");The
restlet headers was actually causing the route to fail with the
ClassCastException - unable to convert from
Hi,
this should help U:
1.
public class DeepCloningProcessor implements Processor {
/* (non-Javadoc)
* @see org.apache.camel.Processor#process(org.apache.camel.Exchange)
*/
@Override
public void process(Exchange exchange) throws Exception {
Cloner cloner = new Cloner();
StreamCache clone =
Hi Guys,
Any hints on writing a processor that will do a deep clone? I am running
into the same issue. I have a CXF Payload on my Exchange.
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Concurrent-problem-with-message-Body-using-WireTap-tp5502505p5753471.
Dear Community,
camel seems to not shutdown the spring DMLC in a JMS Request Reply with
Camel Proxy scenario using:
Karaf 2.3.4
Spring 3.2.8
ActiveMQ 5.9.0
Setup like in tutorial http://camel.apache.org/tutorial-jmsremoting.html
Starting a bundle with temp queues is no problem and works like it s
Hi,
I'm using camel version 2.12.3. together with quartz1 (db stored job store)
component on websphere application server cluster.
The camel context is defined using xml and spring. This is working as long
as there is only one application deployed. When I try to deploy a second
application using
Corrected typo error
Hi Willem
We are getting the OOM memory error in our production environment due to the
lot of stuck threads.
while analyzed the code we found that one of the camel route which is using
the mulitcast is the reason for the stuck thread.This is intermittent issue
.
Please find
Hi,
I have a WSDL with several services defined. I would like to use the cxfbean:
uri to define mock implementations of the generated JAX-WS stubs on Karaf as an
alternative route to the real endpoints sitting outside of the runtime.
Is it possible to provide a single endpoint that can consume
baMufu wrote
> Who would u mind sharing your code on how u managed to get response from
> the SMSC. Below is my code.
> from("test-jms:queue:test.queue").process(new Processor() {
>
>
> public void process(Exchange e) {
>
> System.
Hi:
Thanks for that.
Not sure if that would solve my specific problem though. If I have a route
with URI "jms://testQ?concurrentConsumers=3", then during initialization of
the route itself, type conversion kicks in to convert 3 from String to
Integer and fails if the default type converters are n
I'm sorry my phone was broken for a week so i don't receive any emails, and
it's been a while since i used camel smpp.
Sent from my iPhone
> On 7 Jul 2014, at 05.15 PM, "baMufu [via Camel]"
> wrote:
>
>
> baMufu wrote
> Who would u mind sharing your code on how u managed to get response fro
Thanks Claus.
Elvio
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: 05 July 2014 09:44
To: users@camel.apache.org
Subject: Re: Enricher EIP skips AggregationStrategy if Exchange contains
exception
Hi
A bit late for the reply. But I think you spotted somethin
17 matches
Mail list logo