Re: WS-Policy support

2014-07-04 Thread Michael Lambert
Figured it out: I needed to switch the dataFormat to PAYLOAD. >From the docs: SOAP headers are not available in MESSAGE mode as SOAP processing is skipped. Thanks! On Fri, Jul 4, 2014 at 4:21 PM, functionofwhy wrote: > I am trying to move all policy processing into the camel layer of my syste

WS-Policy support

2014-07-04 Thread functionofwhy
I am trying to move all policy processing into the camel layer of my system architecture. In order to do that I have setup an example proxy in front of a cxf service and moved policy processing to the a bus configured for the proxy: http://www.springframework.org/schema/beans"; ...

An idea of new camel-cache endpoint

2014-07-04 Thread pklimczak
Right now we have at least two components responsible for cache. One is cache (based on ehcache) and sencond is hazelcast (based on hazelcast). The one based on ehcache in my opinion is starting to be deprecated. That's because ehcache is full of statics hell and quite difficult to configure. What

How to configure ITNCM Listener in Camel?

2014-07-04 Thread Rajiv
Hi, I am trying to configure the ITNCMListener for ITNCM Server. ITNCMListener listen to every event generated by server and Process it. I am facing difficulties in configuring the listener. Any component is available within camel which can be used for configuring the listener or any suggestion f

Re: Camel JPA endpoint consumer problem

2014-07-04 Thread chanducompute
Hi Claus, Thank you very much for the suggestion. As you suggested, I have modified the route as below from( "jpa:com.test.persistence.entity.ParameterMappings?consumer.namedQuery=chandra&consumer.delay=5000") .log("${body}"); I am now not getting any exception,

Re: Attachments are Lost using Bean Language

2014-07-04 Thread Willem Jiang
Camel just copy a new exchange for bean expression to use, the attachment in the old exchange won’t be lost. We don’t encourage the people to modify the exchange when doing the evaluation, otherwise the result will be changed in the next expression evaluation. -- Willem Jiang Red Hat, Inc. W

Re: File component does not delete file

2014-07-04 Thread Claus Ibsen
Hi Found the bug and logged a ticket https://issues.apache.org/jira/browse/CAMEL-7577 On Wed, Jul 2, 2014 at 3:11 PM, Claus Ibsen wrote: > Hi > > Yeah sounds like a bug in zip splitter as it should close the stream > if there was an exception etc. > > On Wed, Jul 2, 2014 at 3:02 PM, Gardella jua

Re: doTry problem

2014-07-04 Thread Claus Ibsen
Ah I think NoClassDefFound is a java.lang.Error, so you would need to have .doCatch(Throwable) to catch that guy too. On Tue, Jul 1, 2014 at 8:19 PM, angryzes wrote: > Hello, > > I am facing a strange problem when I am trying to execute doTry doCatch > blocks on exception like this: > > onExcepti

Re: Classpath problem, any good ideas ?

2014-07-04 Thread #S-SmixDev
> Cannot convert value of type [com.ibm.mq.jms.MQConnectionFactory] to required > type [javax.jms.ConnectionFactory] for property 'connectionFactory': no > matching editors or conversion strategy found That typically means you have multiple copies of the javax,jms classes on the classpath (e.g.

Re: Camel JPA endpoint consumer problem

2014-07-04 Thread Claus Ibsen
You should use from("jpa:xxx") And you can set the consumer.delay=2m to poll every 2nd minute. On Fri, Jul 4, 2014 at 11:11 AM, chanducompute wrote: > Hi, > > I am new camel and tried using JPA end point in my code. > > Belos is the Java DSL route > from("timer:refresh?period=2m") > > .to("jpa:c

Camel JPA endpoint consumer problem

2014-07-04 Thread chanducompute
Hi, I am new camel and tried using JPA end point in my code. Belos is the Java DSL route from("timer:refresh?period=2m") .to("jpa:com.test.persistence.entity.ParameterMappings?consumer.namedQuery=chandra") .log("${body}"); He

JPA endpint consumer not working

2014-07-04 Thread chanducompute
Hi, I am new camel and tried using JPA end point in my code. Belos is the Java DSL route from("timer:refresh?period=2m") .to("jpa:com.nielsen.engineering.mediaworks.example.jee6.lib.persistence.entity.ParameterMappings?consumer.namedQuery=chandra")

Classpath problem, any good ideas ?

2014-07-04 Thread Frankiboy
Cannot convert value of type [com.ibm.mq.jms.MQConnectionFactory] to required type [javax.jms.ConnectionFactory] for property 'connectionFactory': no matching editors or conversion strategy found http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst

Extending CamelContext namespace/schema

2014-07-04 Thread nocturnal3d
Hi guys, I'm using Camel with blueprint, I need to kick off a liquibase script per CamelContext for property access and this requires some bean instantiations before the routes bootstrap (I need access to the context to be able to discover the changelog file inside the context). Currently I've ex

Re: Attachments are Lost using Bean Language

2014-07-04 Thread sabri.bousselmi
I'm not Agree with you, otherwise attachments before evaluation will also be lost. I don't undersatand why for BeanExpression we cannot do both modification(attach) + evaluation if is it possible. Bean process is not a solution for me i'm following a specific pattern :( -- View this message in

Re: Multicast parallel processing

2014-07-04 Thread Claus Ibsen
Hi Use a custom aggregation strategy to "merge" the results of the multicast. Otherwise it returns the last exchange out of the box. On Fri, Jul 4, 2014 at 8:04 AM, carnevalegiacomo wrote: > Hi, > I'm trying to use multicast to execute parallel bean method invocation as > following: > -

Re: Attachments are Lost using Bean Language

2014-07-04 Thread Claus Ibsen
Hi Yes Willem is correct. If you want to adjust the message, then you need to use the message translate eip. Invoking an expression/predicate/language etc should not affect the message. On Fri, Jul 4, 2014 at 5:29 AM, Willem Jiang wrote: > After did some patch work, I have to take my world bac

Re: MockEndPoint expected methods clashing

2014-07-04 Thread Claus Ibsen
expectedBodies also set expected number of messages. So you say 2 bodies expected and then 12 message later. That is a mis match. On Fri, Jul 4, 2014 at 7:20 AM, Jan Matèrne (jhm) wrote: > I ran into the same problem some ago with another expect* method. > These methods set the extpectedMessageCo

Re: Spring DSL Type Converters

2014-07-04 Thread Claus Ibsen
Hi Not currently. I think there is a JIRA ticket, to allow ppl to define for type converters. You can write a java bean that gets CamelContext injected, and then you can use that to add the type converters manually. On Thu, Jul 3, 2014 at 7:58 PM, sushil_vsk5 wrote: > Hello: > > I want to sp

Re: Question about how default camel exchange pattern is being set

2014-07-04 Thread Claus Ibsen
Its the consumer which creates the Exchange that sets the initial MEP. On Thu, Jul 3, 2014 at 4:20 PM, Anthony Scatchell wrote: > Hey everyone, > > I’ve been googling around for this without much luck, trying to figure out > how the default camel exchange pattern is set, and what might affect it

Re: How to call a bean after all files has been processed?

2014-07-04 Thread Claus Ibsen
Hi See about the batch completed property you can use to know when the batch of files is complete http://camel.apache.org/batch-consumer.html And this has been debated before on these forums so you can make search and find that. On Thu, Jul 3, 2014 at 5:25 PM, zzkozak wrote: > I wrote the follo

Re: camel-cache 2.13.1 fails on UpdateChecker

2014-07-04 Thread Claus Ibsen
Hi Thanks for bringing this to our attention. Its IMHO shady of terracotta to do this again - they do it with quartz too. I have logged a ticket so we can turn this off by default in camel-cache. https://issues.apache.org/jira/browse/CAMEL-7576 On Thu, Jul 3, 2014 at 5:50 PM, sandeepreddip wrot

Multicast parallel processing

2014-07-04 Thread carnevalegiacomo
Hi, I'm trying to use multicast to execute parallel bean method invocation as following: - ${body}

Error while testing secured proxy service.

2014-07-04 Thread Royamit
Hi all, I have been trying to implement authentication to proxy example provided in the apache camel bundle. So i have implemented interceptors on the camel-config file as: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:c

camel-cache 2.13.1 fails on UpdateChecker

2014-07-04 Thread sandeepreddip
Hi, I'm facing an issue using camel-cache 2.13.1 in a route, it blows with a with **[__DEFAULT__] DEBUG net.sf.ehcache.util.UpdateChecker - Update check failed: * java.net.SocketTimeoutException: connect timed out *. See complete trace below. Found similar issue with quartz but resolved. Is th

Exchange messagecontainer is getting changed during the process

2014-07-04 Thread satyanarayana
Hi All, My requirement flow: Asynchronous flow a)gets the request through web service b)will push the request into queue(activeMQ) c) will fetch the message from request queue, send to the external system d) external system will take sometime to process and reply back e) we have listener