On Thu, Jan 24, 2013 at 8:40 AM, David Karlsen davidkarl...@gmail.com wrote:
Maybe try an xslt transform?
Den 23. jan. 2013 23:26 skrev Martin Stiborský martin.stibor...@gmail.com
følgende:
Yeah xslt would work.
But I assume you can also do
transform
xpath/foo/bar/xpath
/transform
To
On Thu, Jan 24, 2013 at 8:13 AM, Thibault Cassan
thibault.cas...@gmail.com 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
On Wed, Jan 23, 2013 at 10:56 PM, gilboy josephoto...@gmail.com 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.
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 claus.ib...@gmail.com a écrit :
On Thu, Jan 24, 2013 at 8:13 AM, Thibault Cassan
thibault.cas...@gmail.com wrote:
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.
On Thu, Jan 24, 2013 at 9:21 AM, Thibault Cassan
thibault.cas...@gmail.com 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
On Wed, Jan 23, 2013 at 9:02 PM, panzerhans espen+ca...@tjonneland.no 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,
On Wed, Jan 23, 2013 at 10:10 PM, Pranab Mehta rou...@gmail.com 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)
On Wed, Jan 23, 2013 at 11:20 AM, developpef src...@orange.fr 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 :
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 claus.ib...@gmail.com a écrit :
On Thu, Jan 24, 2013 at 9:21 AM, Thibault Cassan
On Thu, Jan 24, 2013 at 9:44 AM, Thibault Cassan
thibault.cas...@gmail.com 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
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 claus.ib...@gmail.com a écrit :
On Thu, Jan 24,
On Thu, Jan 24, 2013 at 9:55 AM, Thibault Cassan
thibault.cas...@gmail.com 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.
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
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 josephoto...@gmail.com 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
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
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
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
thomas.wal...@integratix.net 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
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 claus.ib...@gmail.com:
Hi
Have you looked at beanio. Its a great library
http://camel.apache.org/beanio
On Thu, Jan 24, 2013 at 10:41 AM,
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
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
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 sira...@gmail.com wrote:
Hi,
I have deployed camel in tomcat server.
I want to shutdown camel context when
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:
camelContext xmlns=http://camel.apache.org/schema/spring;
routeBuilder ref=xmlBuilder /
/camelContext
I would like to know, when the tomcat server stops will the camel shutdown
all routes and
On Thu, Jan 24, 2013 at 1:24 PM, siraj sira...@gmail.com wrote:
thanks for the reply. I am using spring and i have defined camelcontext in my
xml config file:
camelContext xmlns=http://camel.apache.org/schema/spring;
routeBuilder ref=xmlBuilder /
/camelContext
I would like to know,
Hi Christoph,
yes I programmed a jUnit Test. Currently my route lokks like that:
camelContext xmlns=http://camel.apache.org/schema/spring;
dataFormats
soapjaxb contextPath=de.iccs.xapi.customer.v1/
/dataFormats
camel:route id=CustomerServiceUpdateCustomerTest
Claus Ibsen 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
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.
xs:complexType name=fetchVesselRegisterV1Response
xs:sequence
xs:element minOccurs=0 name=return type=xs:string/
/xs:sequence
/xs:complexType
I have tried both staying away from putting anything into the
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
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,
On Thu, Jan 24, 2013 at 12:32 PM, AMARNATH, Balachandar
balachandar.amarn...@airbus.com 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 {
/**
*
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
ales.dole...@nextiraone.eu wrote:
Hello,
is there way to bind method result to (input) message header.
If not then it would be fine
On Wed, Jan 23, 2013 at 10:54 PM, iyusuf
iqbalyusufdipu+mailingl...@gmail.com 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:
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:
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
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 able
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 ales.dole...@nextiraone.eu:
Hello,
is there way to bind method result to (input) message header.
If not then
Hi there,
I'm quite new to Camel and face some problems when building unit tests which
extend CamelSpringTestSupport. In the constructor of
ttClassPathXmlApplicationContext/tt, I oftenly (*but not always!*) get a
NullpointerException. This is the stack trace:p/
Can anybody help me? Many thanks
On Thu, Jan 24, 2013 at 9:29 PM, Christian Jacob cjaco...@aol.com wrote:
Hi there,
I'm quite new to Camel and face some problems when building unit tests which
extend CamelSpringTestSupport. In the constructor of
ttClassPathXmlApplicationContext/tt, I oftenly (*but not always!*) get a
On Thu, Jan 24, 2013 at 2:48 PM, Alexander Nemish anem...@gmail.com wrote:
Claus Ibsen 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.
On Thu, Jan 24, 2013 at 8:10 PM, renamsavio renamsav...@gmail.com 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
On Thu, Jan 24, 2013 at 4:56 PM, Zemin Hu zemin...@hotmail.com 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,
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
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]
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
On Fri, Jan 25, 2013 at 12:06 AM, Christian Müller
christian.muel...@gmail.com 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
55 matches
Mail list logo