CXF Consumer Endpoint (multiple routes)

2010-08-02 Thread Marco Zapletal
Hello, I have a CXF service with one port type, which has two operations. Is it possible to define two routes, whereby each route consumes from the same endpoint (CXF service) but from a different operation? As far as I have seen, I have to define two services (port types) with one operation e

CXF performance considerations - pojo vs. payload

2010-09-30 Thread Marco Zapletal
Hi, just a quick question in terms of the different data formats offered for CXF services. I expect that there is a significant performance difference when using payload instead of the pojo data format, since it avoids the JAXB (or any other) marshaling process. Can anybody confirm this or

camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Marco Zapletal
Hello, I am defining my CXF services in camel config (using 2.5.0) as follows: classpath:wsdl/Message.xsd When starting my Camel application an exception as shown below is thrown. It seems that the CXF bean parser does not know what to do with the cxf:sc

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Marco Zapletal
u use for the "cxf" prefix? Christian Am 06.11.2010 17:40 schrieb "Marco Zapletal": Hello, I am defining my CXF services in camel config (using 2.5.0) as follows: classpath:wsdl/Message.xsd When starting my Camel application an exception as

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-07 Thread Marco Zapletal
On 11/7/10 12:53 AM, Marco Zapletal wrote: http://camel.apache.org/schema/cxf is the namespace, which has http://camel.apache.org/schema/cxf/camel-cxf.xsd defined as its schemaLocation. I've checked the schema, the element is defined there. regards, marco Am 06.11.2010 17:52, schrieb

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Marco Zapletal
ent.cxf.HelloService"> classpath:wsdl/Message.xsd On 11/7/10 5:00 PM, Marco Zapletal wrote: Thanks for that quick reaction. Am 07.11.2010 05:24, schrieb Willem Jiang: I just checked the code of camel-cxf, it doesn't support to take the schemaLocation, so I create a JIRA[1] for it and will

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Marco Zapletal
error or any other reaction is logged (which would be the behavior when a wsdlLocation is not found). Hence, it seems that setting the schemaLocation doesnt have any effect. Any hint would be appreciated. regards, marco On 08.11.2010 11:19, Claus Ibsen wrote: On Mon, Nov 8, 2010 at 11:13 AM, Ma

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-09 Thread Marco Zapletal
other version of CXF in your class. On 11/9/10 8:53 AM, Willem Jiang wrote: Hi Marco, The schemaLocation is passed to the ServiceFactoryBean. Can you send me a simple test case of this issue ? So I can dig the issue shortly. On 11/8/10 10:59 PM, Marco Zapletal wrote: I have checked out the l

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-11 Thread Marco Zapletal
.2.11, and there is no other version of CXF in you classpath. On 11/9/10 10:40 PM, Marco Zapletal wrote: Hi, I am having again problems with the maven snapshot repo, which prevents me to try it with CXF 2.3.0. Below you see which versions of the camel jars are downloaded today for 2.6-SNAPSHOT

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-12 Thread Marco Zapletal
, it good to know the patch is working :) On 11/11/10 10:05 PM, Marco Zapletal wrote: Hi, using 2.6-SNAPSHOT together with CXF 2.3.0 seems to work fine. thanks. On 10.11.2010 09:11, Willem Jiang wrote: Hi, Current camel-cxf is using CXF 2.3.0. It should be better if you try to run the test

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-12 Thread Marco Zapletal
-SNAPSHOT of CXF 2.3. Jetty 7 is resolved as a dependency. thanks, marco Am 12.11.2010 11:19, schrieb Willem Jiang: Can I have a look at your Junit tests code? I just want to asked the same thing in the CXF mailing list. On 11/12/10 6:05 PM, Marco Zapletal wrote: Just something I wanted to

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-18 Thread Marco Zapletal
code deeper to find if there is some better solution. BTW, current work around should work for CXF 2.2.x and CXF 2.3.x at the same time. On 11/16/10 12:11 AM, Marco Zapletal wrote: thats true ;-) so please find attached a simple test case, which demonstrates the error. If you switch the CXF version i

AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Marco Zapletal
Hello, I am using the ActiveMQ Component on my routes with an embedded broker. When re-deploying my app, I am always getting an InstanceAlreadyExistsException, since the broker of the prior deployment seems to be still existing (exception is posted below). In my Spring configuration for the A

Re: AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Marco Zapletal
looks like when you hot-deploy the JMX Mbeans are not unregistered and thus you hit a problem when AMQ tries to register a MBean when it starts up, and there old MBean is still there. On Thu, Jan 6, 2011 at 3:51 PM, Marco Zapletal wrote: Hello, I am using the ActiveMQ Component on my routes wi

Returning a custom response (custom fault message) when a transaction fails

2011-02-21 Thread Marco Zapletal
Dear folks, My questions relates to a transacted route as it is described in the Camel in Action Book in Section 9.4.3 (Returning a custom response) - my goal is, however, to return a web service fault (instead of regular response message) _and_ rollback the route. The situation is as follow

Re: Returning a custom response (custom fault message) when a transaction fails

2011-02-21 Thread Marco Zapletal
hmm... it seemed that the handled(true) statement caused my problem, which caused the exception not to be rethrown. when I set handled to false, it seems to work fine... On 21.02.2011 18:09, Marco Zapletal wrote: Dear folks, My questions relates to a transacted route as it is described in

Long <-> Date TypeConverter

2013-07-29 Thread Marco Zapletal
Hi folks, I recently encountered the situation that we required a Long (unix timestamp) to java.util.Date conversion. I was pretty sure that such a converter will exist in core-camel, but it doesn't. Furthermore, I came across some pieces of code in camel-core, where this conversion is done

Re: Camel ActiveMQ consumers do not consume after restart

2012-07-25 Thread Marco Zapletal
and ActiveMQ do you use? Which MEP do you use? Best, Christian Sent from a mobile device Am 20.07.2012 16:26 schrieb "Marco Zapletal" : Hi folks, We have an application where we have two Camel contexts (C1, C2) which exchange messages via two queues (Q1, Q2). These queues are loca

Re: Camel ActiveMQ consumers do not consume after restart

2012-07-26 Thread Marco Zapletal
: I don't think this was the issue. But without to know which version of Camel and ActiveMQ do you use and how your ActiveMQ component is configured, I cannot help... Best, Christian On Wed, Jul 25, 2012 at 6:22 PM, Marco Zapletal wrote: For producing messages to AMQ, we are using the I

camel-james-smtp - a component acting as SMTP server

2012-08-10 Thread Marco Zapletal
Dear Camel folks, Norman Maurer did some interesting work in providing a Camel component acting as SMTP server based on Apache James Protocols: https://github.com/normanmaurer/camel-smtp I forked the code and extended the component to leverage additional James SMTP features such as authenti

Wait for transaction commit when putting messages on JMS queue using inOnly

2012-09-01 Thread Marco Zapletal
Hi Camel folks, I have the following route configuration from("activemq:q1"). transacted(). ... .inOnly("activemq:q2"). .inOnly("custom:storeMonitoringInformation") The goal of the second .inOnly ("custom:storeMonitoringInformation") is to store some monitoring information about the message

Splitter based on header information

2012-09-04 Thread Marco Zapletal
Hi folks, I've gone through the docs of the Splitter. However, what I have learned so far is that the element that is used for splitting must be defined within the DSL (at design time) - or is there any chance to split an XML document based on header information, which can be set at run time?

Re: Camel ActiveMQ consumers do not consume after restart

2012-09-04 Thread Marco Zapletal
On 01.08.2012 23:41, Christian Müller wrote: Working on a test case... Best, Christian On Thu, Jul 26, 2012 at 12:27 PM, Marco Zapletal wrote: Sorry Christian, I forgot to mention this: We are currently using Camel 2.10 and ActiveMQ 5.6.0. But we have experienced this problem with ActiveMQ 5.5.1 as

Re: Wait for transaction commit when putting messages on JMS queue using inOnly

2012-09-07 Thread Marco Zapletal
the commit failed in the first attempt, but succeeeded the second time resulting in executing the custom logic twice. On Sat, Sep 1, 2012 at 4:04 PM, Marco Zapletal wrote: Hi Camel folks, I have the following route configuration from("activemq:q1"). transacted(). .

Re: any tried using transacted activemq on ec2?

2012-11-06 Thread Marco Zapletal
We are running transacted camel routes with activemq on ec2 and it works fine. There was nothing special to set. Just as a side remark, we experienced problems with hanging routes/consumers when activemq was restarted, which was solved by setting the prefetch to 0 (http://camel.465427.n5.nabb

Re: CloudWatch Capability for AWS Component?

2012-11-06 Thread Marco Zapletal
Hi, have you taken a look at Servo by Netflix? https://github.com/Netflix/servo/wiki Maybe this is of help for you... Regards, Marco On 06.11.2012 07:06, dacc wrote: Hey Bilgin, I turned out to be infeasible for my use case to talk to CloudWatch through Camel. Can't remember the exact deta

How to properly shutdown a when testing?

2011-05-03 Thread Marco Zapletal
Hello, I have several routes exposing CXF endpoints as consumers. The endpoints are defined in my camel-config.xml Spring Context using the definition. When testing them, I am regularly experiencing a "java.lang.RuntimeException: Soap 1.1 endpoint already registered on address http://loca

Re: How to properly shutdown a when testing?

2011-05-03 Thread Marco Zapletal
context , the cxfconsumer should stop the server at the same time. Willem On 5/3/11 4:52 PM, Marco Zapletal wrote: Hello, I have several routes exposing CXF endpoints as consumers. The endpoints are defined in my camel-config.xml Spring Context using the definition. When testing them, I am

Synchronization based on correlation identifier

2011-05-06 Thread Marco Zapletal
Hello, is it somehow possible in Camel to achieve synchronization of a processor based on a correlation id (e.g., a header value)? I've taken a look into camel-bam, but haven't found something that fit my requirements. Thanks and regards, marco

Using properties or headers to persist meta information on the exchange?

2011-06-08 Thread Marco Zapletal
Hi, I learned from this thread (http://camel.465427.n5.nabble.com/How-long-do-the-camel-headers-live-in-routes-td474477.html) that one should use properties instead of headers in order to durable store meta information on an exchange (acc. to one of the postings, headers can get lost at endpo

Re: Using properties or headers to persist meta information on the exchange?

2011-06-08 Thread Marco Zapletal
ntime exception, which cancels the execution of the process instance. regards, marco On 08.06.2011 18:26, Claus Straube wrote: Hi Marco, have you tried 'transferExchange=true' inside your JMS route? That could be a solution for your JMS problem. Best regards - Claus On 08.06.20

Re: Using properties or headers to persist meta information on the exchange?

2011-06-08 Thread Marco Zapletal
imits what can be send as JMS headers. Read more details on the Camel JMS wiki page. And for example in the JMS java doc. On Wed, Jun 8, 2011 at 6:36 PM, Marco Zapletal wrote: Hi, thanks for the quick response. Yes, I've tried this, but this opens up another problem if you use a CXF endpoi

Re: Using properties or headers to persist meta information on the exchange?

2011-06-09 Thread Marco Zapletal
t. Of course you'll loose here the message headers, because they're bound to camel (where should you store them if put a file on disk? ...or an object into data grid?). If you need these information in your business context you have to implement this. On 08.06.2011 19:58, Marco Zapletal wr

Providing Interfaces for MBeans to be able to proxy them

2011-09-17 Thread Marco Zapletal
Hi folks, I am currently working on realizing remote management capabilities for my Camel app using JMX. As far as I learned, JMX MBeans can be proxied on the client side using appropriate interfaces that are implemented by the MBeans. The Camel MBeans do currently not implement interfaces, wh

Camel ActiveMQ consumers do not consume after restart

2012-07-20 Thread Marco Zapletal
Hi folks, We have an application where we have two Camel contexts (C1, C2) which exchange messages via two queues (Q1, Q2). These queues are located on the same ActiveMQ broker. Thereby, the message flow goes as follows: C1 -> Q1 -> C2 C2 -> Q2 -> C1 C2 uses furthermore some "internal" queue

DefaultExchangeHolder.marshal() produces a lot of warnings | CAMEL-8415

2015-11-16 Thread Marco Zapletal
/org/apache/camel/impl/DefaultExchangeHolder.java#L240). This seems somehow confusing to me. Thanks and best regards, Marco Zapletal