Request Response with Websphere MQ with JTA

2011-06-22 Thread Sachin
Hi, I am trying to achieve JMS request response scenario in XA with websphere and websphere mq. I am not using routes. I am using JmsProducer..process(ExchangePattern exchange) with exchangePattern set to InOut. Since JMS will not send any messages until a commit is performed, the server side

Re: Disable CertificateValidation when Routing to HTTPS endpoint

2011-06-22 Thread Magnus Palmér
Hi, I was just about to ask a similiar question after being up all night trying to get my https4 URI to work. I get this: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated There are several posts to be found via Google, some specific for Camel, and I've tried several others

Re: Using Camel with Quartz Schedular

2011-06-22 Thread diwakar.sapan
Thanks Boday. I am new to camel so can I ask how to use spring 3.0.4 RELEASE with camel. Do I need to make some .xml file or so? At present I am just using one .java file for this and added camel-core and camel-quartz in pom.xml Sorry for foolish question. - -- Sapan -- View this message

Re: Errorhandling Question: ExchangeTimeOutException

2011-06-22 Thread Andrè
it is something like that that camel prppagates the exception back to the consumer, which is the activemq queue, and waits there till it gets the timeout? But if it would be something like that, why do i catch an UndeclaredThrowableException in the test ? thx -- View this message in context:

Implementing a TCP proxy for Apache Zookeeper using Mina

2011-06-22 Thread Jürgen Kindler
Hi, I want to simulate a network failure between Zookeeper clients and a Zookeeper server. I try to use Mina to implement a proxy to an Apache Zookeeper process, but I get strange exceptions. My route definition looks like this: beans xmlns=http://www.springframework.org/schema/beans;

Tutorial Business Partners Test Failing

2011-06-22 Thread pcroser
Running on Linux with maven setup I am getting an error when tyring to run the testXMLCoversion method No getConsumers() available on Producer[direct:start] which leads to testXMLConversion(com.itt.ips.casex.cybervisor.cameljmsmailcomponent.XMLInputTest): mock:finish Received message count.

Re: Tutorial Business Partners Test Failing

2011-06-22 Thread Claus Straube
Have you tried to define the transformerFactory (how to do that see http://camel.apache.org/xslt.html at the end of the page)? I'm not sure if this is the problem, but it can be. Your code looks fine. Best regards - Claus Am Mittwoch, den 22.06.2011, 03:41 +0200 schrieb pcroser

Tutorial Business Partners Test Failing

2011-06-22 Thread pcroser
Running on Linux with maven setup I am getting an error when tyring to run the testXMLCoversion method No getConsumers() available on Producer[direct:start] which leads to testXMLConversion(com.itt.ips.casex.cybervisor.cameljmsmailcomponent.XMLInputTest): mock:finish Received message count.

Re: Using Camel with Quartz Schedular

2011-06-22 Thread Filippo Balicchia
Ben, from stack strace seems that you haven't AopUtils in your classpath. Please add org.springframework.aop-3.0.4.RELEASE to your dipendency Cheers --Filippo 2011/6/22 diwakar.sapan diwakar.sa...@gmail.com: Thanks Boday. I am new to camel so can I ask how to use spring 3.0.4 RELEASE

Re: Tutorial Business Partners Test Failing

2011-06-22 Thread pcroser
Forgot to include that everything ran correctly including the empty test method testNothing(), I believe everything is set up correctly in my sample project including the camel and spring context , test class , and pom, etc. -- View this message in context:

Re: Tutorial Business Partners Test Failing

2011-06-22 Thread pcroser
I was able to make this work. If anyone wasted time on this I apologize. -- View this message in context: http://camel.465427.n5.nabble.com/Tutorial-Business-Partners-Test-Failing-tp4513605p4513860.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Idempotent consumer question

2011-06-22 Thread Claus Ibsen
There is a skipDuplicate option on the idempotent consumer in Camel 2.8. Then you can turn that option off, and then a filter EIP to filter the duplicates and lookup the value from the cache and return that. The EIPs can often be combined together to form new patterns (kinda like lego bricks

routing proxy´s over another broker

2011-06-22 Thread Andrè
i have an set consisting of two active mq broker, one has an proxy definition.like this proxy id=... serviceUrl=... SericeInterface=.../ route from uri=direct:AuthzService/ to uri=activemq:queue:services.global.xacml.authzRequests/ /route the other is the Service provider,

routing proxy´s over another broker

2011-06-22 Thread Andrè
i have an set consisting of two active mq broker, one has an proxy definition.like this proxy id=... serviceUrl=... SericeInterface=.../ route from uri=direct:AuthzService/ to uri=activemq:queue:services.global.xacml.authzRequests/ /route the other is the Service provider,

Re: Idempotent consumer question

2011-06-22 Thread mcaserta
First of all, thanks for the answer and your time. I'm a big fan and there's not a single integration project I've developed during the past two years that doesn't use Camel :) I had seen the 2.8 skipDuplicate option but decided not to use it anyway simply because I would end up with two

Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Zhemzhitsky Sergey
Hi there, I'm using the latest version of camel and I'm wondering whether it is possible to export a camel endpoint as OSGi service, so any non-camel-aware code can transparently use camel functionality in OSGi environment. And in that case from the OSGi service consumer's point of view, camel

Re: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Jean-Baptiste Onofré
Hi Sergey, Camel already exposes context as an OSGi service. So it means that you can get the endpoint, routes, component starting from the CamelContext. For instance, you can get the CamelContext from a bundle like this: ServiceReference[] references =

Re: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Donald Whytock
Hi Sergey, I tried doing this, encapsulating and exposing what functionality I wanted, so that my client bundles wouldn't need to be camel-aware. Yes, it can be done, as long as you're willing to create front-ends for whatever you want to do. I ended up thinking it was more trouble than it was

Re: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Christian Schneider
Hi Sergey, Don, I just wanted to write a similar mail like Don. Reading his comments I think what we could improve is to offer a small messaging core for camel. For example containing Exchange, Message and ProducerTemplate. That would allow to make this camel awareness really small. What do

Re: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Christian Schneider
To not know camel at all would mean that you have to invent your own abstractions and bridge between them and camel by hand. If camel would offer such abstractions you would always be depending on camel in some way. One solution might be to use the NMR support in camel. See:

camel-cache configuration

2011-06-22 Thread Marco Westermann
Hi, how do I configure the camel-cache (ehcache) component, if I don't need a from(cache) in my route? I don't wan't to react on changes in the cache. in docs http://camel.apache.org/cache.html the example does the configuration within the from-element. If I try to add values to the cache

RE: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Zhemzhitsky Sergey
I like the idea with small messaging core, but I think such a functionality is not very necessary. It seems that additional level of abstraction with my own interfaces is more preferred for now. Best Regards, Sergey Zhemzhitsky -Original Message- From: Christian Schneider

Re: Is it possible to export camel endpoint as OSGi service?

2011-06-22 Thread Donald Whytock
Maybe a service object that contains a BlockingQueue to read from and/or a method to write with. Creating it could be done by passing a URL to a service, or set up URLs and keys in the configuration so that client bundles track the service by key. Alternately, rather than a BlockingQueue, a

Re: camel-cache configuration

2011-06-22 Thread boday
you should be able to configure your cache explicitly using an ehcache.xml file (just create one in your /src/main/resources directory) otherwise, I'll investigate adding support for configuring cache properties in the cache producer as well... Marco Westermann wrote: Hi, how do I

Continuation for Tutorial Tutorial Business Partners

2011-06-22 Thread pcroser
Thanks for the tutorial content, it was most helpful. Was there more after Step 7 ? -- View this message in context: http://camel.465427.n5.nabble.com/Continuation-for-Tutorial-Tutorial-Business-Partners-tp4514910p4514910.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Request Response with Websphere MQ with JTA

2011-06-22 Thread Christian Müller
Did you allready tried transactedInOut=true? Am 22.06.2011 08:04 schrieb Sachin sachin2...@gmail.com: Hi, I am trying to achieve JMS request response scenario in XA with websphere and websphere mq. I am not using routes. I am using JmsProducer..process(ExchangePattern exchange) with

Re: camel-cache configuration

2011-06-22 Thread boday
actually, you already can specify cache configuration via the producer...like this from(direct:a) .setHeader(CacheConstants.CACHE_OPERATION, constant(CacheConstants.CACHE_OPERATION_ADD)) .setHeader(CacheConstants.CACHE_KEY, constant(Ralph_Waldo_Emerson))

Re: camel-cache configuration

2011-06-22 Thread tnk
this might be related with your problem. http://fusesource.com/forums/thread.jspa?messageID=9547#9547 ehcache-failsafe.xml is missing inside ehcache bundle. -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-configuration-tp4514476p4515096.html Sent from the Camel -

Re: Multiple remote connection to the same host but different users

2011-06-22 Thread boday
I'm looking into this, but I don't see the issue in the code (2.8-SNAPSHOT). The producer cache uses the endpoint URI as the key and this is unique because the user/password are part of the URI... I wrote a simple unit test and it is instantiating a different producer for each unique endpoint

Re: Exchange lifecycle

2011-06-22 Thread boday
a couple of comments... -from(..) invokes a component's Consumer, to(...) invokes its Producer -the component's Endpoint creates the exchange -the same exchange is used throughout a route -polling consumers are generally in the from() clause to initiate a route/exchange (except when using