On Thu, Jan 24, 2013 at 8:40 AM, David Karlsen wrote:
> Maybe try an xslt transform?
> Den 23. jan. 2013 23:26 skrev "Martin Stiborský"
> følgende:
>
Yeah xslt would work.
But I assume you can also do
/foo/bar
To transform the message using the xpath expression.
Mind that with xpath, th
On Thu, Jan 24, 2013 at 8:13 AM, Thibault Cassan
wrote:
> Christian,
>
> I am using Oracle's JDK.
>
And have you tried restarting the Karaf container after installing all
these features.
Sometimes this can fix weird issues.
> Regards,
> Thibault
> 2013/1/24 Christian Müller
>
>> Which JDK do
On Wed, Jan 23, 2013 at 10:56 PM, gilboy wrote:
> Hi
>
> I am using a splitter EIP in my route.
>
> I am leveraging the parallelprocessing property of the splitter EIP in my
> route. My route gets triggered from a quartz endpoint, e.g.
>
> *from("quartz).to("bean:myBean).split().parallelProcessing
Yes, I tried to restart Karaf after installing all features. I also tried
restarting after each feature install.
Each time I get the same error.
Le 24 janv. 2013 09:18, "Claus Ibsen" a écrit :
> On Thu, Jan 24, 2013 at 8:13 AM, Thibault Cassan
> wrote:
> > Christian,
> >
> > I am using Oracle's
Hi
The "servlet" component requires you to run inside a Servlet
container, such as Apache Tomcat, Jetty,
and ESB containers such as ServiceMix etc.
When you run it standalone as unit test, then there is no servlet
container, and you cannot use that.
You can swap the servlet with jetty instead. T
On Thu, Jan 24, 2013 at 9:21 AM, Thibault Cassan
wrote:
> Yes, I tried to restart Karaf after installing all features. I also tried
> restarting after each feature install.
> Each time I get the same error.
Ah have you changed the jre.properties file?
See the bottom of the release notes
http://c
On Wed, Jan 23, 2013 at 9:02 PM, panzerhans wrote:
> I have created a CXF webservice and exposed it with camel. The webservice is
> code first (JSR-181) annotated Java class, springed up in my application
> context.
>
> The class looks like this:
>
> @WebService(name="DataExport", serviceName="Dat
On Wed, Jan 23, 2013 at 10:10 PM, Pranab Mehta wrote:
> I am running Camel 2.8, and to proxy a https web service I use the
> following route:
> from("servlet:///proxyWebService/api/?matchOnUriPrefix=true")
> .process(myProcessor)
>
> .to("https4://realWebService:8443/api/?
On Wed, Jan 23, 2013 at 11:20 AM, developpef wrote:
> Hello,
>
> This message to get more explanations on exceptions management on routes.
>
> Here is my app :
>
> I created a custom MyException extending RuntimeCamelException (wich extends
> Exception).
>
> My routes are :
>
> onException(MyExcep
Yes, that was it, problem solved!
Sorry, it seems I didn't read enough the camel release note...
Thanks for having answered this quickly.
Regards,
Thibault
Le 24 janv. 2013 09:26, "Claus Ibsen" a écrit :
> On Thu, Jan 24, 2013 at 9:21 AM, Thibault Cassan
> wrote:
> > Yes, I tried to restart Ka
On Thu, Jan 24, 2013 at 9:44 AM, Thibault Cassan
wrote:
> Yes, that was it, problem solved!
> Sorry, it seems I didn't read enough the camel release note...
> Thanks for having answered this quickly.
>
Karaf 2.3.x onwards don't require this anymore.
> Regards,
> Thibault
> Le 24 janv. 2013 09:
Ok good news. But I was waiting for the next Camel release. I had some
issues running all my camel components (xslt, if I remember well) with
Karaf 2.3, and someone gave me the advice to wait before migrating.
Le 24 janv. 2013 09:50, "Claus Ibsen" a écrit :
> On Thu, Jan 24, 2013 at 9:44 AM, Thi
On Thu, Jan 24, 2013 at 9:55 AM, Thibault Cassan
wrote:
> Ok good news. But I was waiting for the next Camel release. I had some
> issues running all my camel components (xslt, if I remember well) with
> Karaf 2.3, and someone gave me the advice to wait before migrating.
Yeah wait for Karaf 2.3.1
Hi,
I guess you are still on the exchange and set there the exchange header with
name "operationName" instead of adding this header to you're SOAP message.
What I've done in the past to solve this issue is the following:
(1) Write a SoapHeaderProcessor
(2) Receive the SoapMessage from your exch
Thanks for the response.
Yes I was planning on configuring quartz to be stateful.
However, even if I configure it to be stateful I am assuming once I hit the
splitter(assume message contains a list of objects) with parallelprocessing
enabled the quartz thread will complete before the threadpool
On Thu, Jan 24, 2013 at 10:22 AM, gilboy wrote:
> Thanks for the response.
>
> Yes I was planning on configuring quartz to be stateful.
>
> However, even if I configure it to be stateful I am assuming once I hit the
> splitter(assume message contains a list of objects) with parallelprocessing
> en
I think I found the issue, shareUnitOfWork should create the a new
UnitOfWorkProcessor per processing instead of using the last one, as the parent
UnitOfWork is different next time. When you using the shareUnitOfWork, the
error handler should just get one call.
I will commit the fix after runnin
Hi all,
I see strange behaviour in camel-bindy:
1) When I unmarshal a fixed-length file I get errors when the file is encoded
in e.g. UTF-8. It seems that characters that need multiple bytes to encode
confuse the parser/scanner. There was a JIRA with regard to bindy-csv but
nothing bindy-fixed
Hi
Have you looked at beanio. Its a great library
http://camel.apache.org/beanio
On Thu, Jan 24, 2013 at 10:41 AM, Walzer, Thomas
wrote:
> Hi all,
>
> I see strange behaviour in camel-bindy:
>
> 1) When I unmarshal a fixed-length file I get errors when the file is encoded
> in e.g. UTF-8. It
BeanIO looks great, I´ll give it a try. So many libraries - so little time.
Thank you Claus.
Am 24.01.2013 um 10:49 schrieb Claus Ibsen :
> Hi
>
> Have you looked at beanio. Its a great library
> http://camel.apache.org/beanio
>
>
>
> On Thu, Jan 24, 2013 at 10:41 AM, Walzer, Thomas
> wr
We currently use 2.10.2
-
http://developpef.blogspot.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Exceptions-management-tp5726051p5726143.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello,
is there way to bind method result to (input) message header.
If not then it would be fine if @Header annotation could be used on method. If
the exchange has out message it would set the header on the out message.
Otherwise it would set the header on in message.
Ales
Hello,
We have a requirement wherein we need to do some database operations
(inserts/updates) immedialtely after the first and last routes are executed.
We would be writing two custom interceptors - one for the insert operation
after the first route is executed , and the other for the update oper
I am new to camel and trying to run a simple example. I have the following
classes constitute a simple route which I am not able to run it.
public class CamelStarter {
/**
* @param args
*/
public static void main(String[] args) throws Exception {
Hi,
I have deployed camel in tomcat server.
I want to shutdown camel context when the tomcat server down.
when tomcat server shutdown, it will call servletcontextlistener
contextDestroyed() method.
How can i shutdown camel inside servletcontextlistener.
thanks.
--
View this message in contex
to the above post, I am using camel 2.10.3
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-shutdown-tp5726146p5726147.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
If you are using spring then you can let it handle the lifecycle
http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html
On Thu, Jan 24, 2013 at 12:06 PM, siraj wrote:
> Hi,
>
> I have deployed camel in tomcat server.
> I want to shutdown camel context when the tomcat serv
Hi Gabriel,
first of all a general question, have you tried to debug a unit test to solve
your issue?
As far as I can see by now you are looking into the exchange.getOut() message.
Have you tried looking into your exchange.getIn() message? This might resolve
your NPE issue.
One more thing to
thanks for the reply. I am using spring and i have defined camelcontext in my
xml config file:
http://camel.apache.org/schema/spring";>
I would like to know, when the tomcat server stops will the camel shutdown
all routes and stops gracefully.
--
View this message in context:
htt
On Thu, Jan 24, 2013 at 1:24 PM, siraj wrote:
> thanks for the reply. I am using spring and i have defined camelcontext in my
> xml config file:
>
> http://camel.apache.org/schema/spring";>
>
>
>
> I would like to know, when the tomcat server stops will the camel shutdown
> all routes and
Hi Christoph,
yes I programmed a jUnit Test. Currently my route lokks like that:
http://camel.apache.org/schema/spring";>
updateCustomer
The setSimpleAuthHeader pro
Claus Ibsen writes:
>
> Hi
>
> The scalate team has been so kind to cut releases that support Scala
> 2.9 and 2.10.
> So the last hurdle for Camel is to have an OSGi bundle of Scala 2.10
> which is in the works.
>
> When all that is released. We could reconsider upgrading camel-scala
> to 2.10
Hi Ashwin,
Can you please elaborate some more
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-shutdown-tp5726146p5726159.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thank you for your reply.
For the WSDL: Yes, return type is correct.
I have tried both staying away from putting anything into the exchange.out
and instead manipulating the in body. This ended with a NPE:
2013-01-24 14:45:33,003 WARN WebContainer : 0
|cxf.phase.PhaseInt
Actually I have been considering using jetty, I just have not tried out yet.
Let me know if you have some ready samples in hand for this purpose. I would
imagine if I use jetty, I have to put "jetty:" in front of all URIs, then
remove them after unit test, if you want to do test again, you have to
Hi,
What does your routes look like?
Do you need to simulate the Server behavior to the client (which could be a
camel route) to test?
If you want to use the HttpUnit, you have to use the HttpUnit client API to
invoke the service.
You can also try to start a embed Jetty server which can hold th
You are right. I was trying too hard to use CamelSpringTestSupport, thinking
it might be simpler to start my route and to test it together. I am wrong.
This CamelSpringTestSupport can do other tests, say file in Ibsen's book,
but not for servlet.
I am going to quit using CamelSpringTestSupport, jus
On Thu, Jan 24, 2013 at 12:32 PM, AMARNATH, Balachandar
wrote:
> I am new to camel and trying to run a simple example. I have the following
> classes constitute a simple route which I am not able to run it.
>
> public class CamelStarter {
>
> /**
> * @param args
> */
>
Hi
I am not sure we follow what you talk about.
You can read about bean parameter binding in the Camel docs
On Thu, Jan 24, 2013 at 11:58 AM, DOLECEK Ales
wrote:
> Hello,
>
> is there way to bind method result to (input) message header.
>
> If not then it would be fine if @Header annotation
On Wed, Jan 23, 2013 at 10:54 PM, iyusuf
wrote:
> It works with version 2.10.2
> Thanks all!!
>
Yeah it turns out it is only 2.10.3 that had this problem.
It is fixed in the upcoming 2.10.4.
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Cannot-change-directory-to
No change when wrapping the string inside an object.
I have two other contract first webservices. Those does not display the
above behaviour. So I am going to pick up the WSDL file and rewrite the
spring wiring.
--
View this message in context:
http://camel.465427.n5.nabble.com/Websphere-6-1-0
Hi,
There is a problem that invalidate the test for
allowRedeliveryWhileStopping.
I am using 2.11-SNAPSHOT and have been looking at the test located in :
org.apache.camel.processor.RedeliveryErrorHandlerNoRedeliveryOnShutdownTest
I think that right from the start, the test can't last for 20 seco
I have camel 2.10.3 installed and am using the example pubring-ElGamal.gpg from
'components\camel-crypto\src\test\resources\org\apache\camel\component\crypto'
in camel-crypto and user 'sd...@nowhere.net'.
When I run the camel route with mvn camel:run, the RSA encryption works
perfectly as well
Hi there,
I have a doubt.. I've got 3 File components. But I wanna know how to make
them run sequentially..in other words, the second File component will be run
just when the first one finishes its work in all the files from that
directory, and so on.! I tried to use 'delay', but it's not always i
The file endpoint should be a directory and not a file.
Sent from a mobile device
Am 24.01.2013 12:33 schrieb "AMARNATH, Balachandar" <
balachandar.amarn...@airbus.com>:
> I am new to camel and trying to run a simple example. I have the following
> classes constitute a simple route which I am not
Ales,
You can use the exchange as parameter in your bean method and set you
result as in/out header if you want.
Sent from a mobile device
Am 24.01.2013 11:59 schrieb "DOLECEK Ales" :
> Hello,
>
> is there way to bind method result to (input) message header.
>
> If not then it would be fine if
Hi there,
I'm quite new to Camel and face some problems when building unit tests which
extend CamelSpringTestSupport. In the constructor of
ClassPathXmlApplicationContext, I oftenly (*but not always!*) get a
NullpointerException. This is the stack trace:
Can anybody help me? Many thanks in advan
On Thu, Jan 24, 2013 at 9:29 PM, Christian Jacob wrote:
> Hi there,
> I'm quite new to Camel and face some problems when building unit tests which
> extend CamelSpringTestSupport. In the constructor of
> ClassPathXmlApplicationContext, I oftenly (*but not always!*) get a
> NullpointerException. Th
On Thu, Jan 24, 2013 at 2:48 PM, Alexander Nemish wrote:
> Claus Ibsen writes:
>
>>
>> Hi
>>
>> The scalate team has been so kind to cut releases that support Scala
>> 2.9 and 2.10.
>> So the last hurdle for Camel is to have an OSGi bundle of Scala 2.10
>> which is in the works.
>>
>> When all th
On Thu, Jan 24, 2013 at 8:10 PM, renamsavio wrote:
> Hi there,
> I have a doubt.. I've got 3 File components. But I wanna know how to make
> them run sequentially..in other words, the second File component will be run
> just when the first one finishes its work in all the files from that
> directo
On Thu, Jan 24, 2013 at 4:56 PM, Zemin Hu wrote:
> You are right. I was trying too hard to use CamelSpringTestSupport, thinking
> it might be simpler to start my route and to test it together. I am wrong.
> This CamelSpringTestSupport can do other tests, say file in Ibsen's book,
> but not for ser
Each file component handles with a diferent directory..
directory "root" (File Component 1)
directory 1 (File Component 2) - File Component 1 finishes
processing all the files from its directory, so it starts
directory 2 (File Component 3) - File Component 2 finishes
processi
Hi Claus,
I'm using JDK 1.7.0, Camel 2.10.3, and Spring 3.2.0.RELEASE, and I'm running my
tests in Eclipse Juno.
Thanks for your help. Do you need more informations?
Regards,
Christian
-Ursprüngliche Mitteilung-
Von: Claus Ibsen-2 [via Camel]
An: Christian Jacob
Verschickt: Do, 24
> If you agree, I'll submit a JIRA issue and can
> work on a patch.
Good catch Greg :) . I created the appropriate Jira issue [1]. We
would appreciate if you contribute the patch for the bug you detected.
[1] https://issues.apache.org/jira/browse/CAMEL-6012
--
Henryk Konsek
http://henryk-konsek.
Camel 2.10.3 only supports Spring 3.0.x and 3.1.x.
Spring 3.2.x support is added in the upcoming Camel 2.11.0 release.
Which concrete JDK 1.7.0 version do you use? Some older ones had issues
with parsing XML documents.
Sent from a mobile device
Am 24.01.2013 22:26 schrieb "Christian Jacob" :
>
>
On Fri, Jan 25, 2013 at 12:06 AM, Christian Müller
wrote:
> Camel 2.10.3 only supports Spring 3.0.x and 3.1.x.
> Spring 3.2.x support is added in the upcoming Camel 2.11.0 release.
> Which concrete JDK 1.7.0 version do you use? Some older ones had issues
> with parsing XML documents.
>
Yeah the e
56 matches
Mail list logo