Re: losing headers after mondodb endpoint

2012-12-12 Thread Claus Ibsen
On Thu, Dec 13, 2012 at 3:39 AM, Jason Chaffee wrote: > I am processing a REST call using CXFRS and then sending that to a mongodb > endpoint, and finally building up the Response for the CXFRS endpoint. I > would like to access the headers that CXFRS puts in the Exchange when I build > up the

Re: Emails with invalid Format (SPAM) block EMail Processing with: "Error populating the initial mail message attachments"

2012-12-12 Thread Claus Ibsen
On Thu, Dec 13, 2012 at 8:24 AM, Christoph Emmersberger wrote: > Hi Philipp, > > is it possible to provide some more information (e.g. an example of a mail > message that breaks the processing) and open a JIRA Ticket targeting this > issue? > > https://issues.apache.org/jira/browse/CAMEL > Yeah

Re: Emails with invalid Format (SPAM) block EMail Processing with: "Error populating the initial mail message attachments"

2012-12-12 Thread Christoph Emmersberger
Hi Philipp, is it possible to provide some more information (e.g. an example of a mail message that breaks the processing) and open a JIRA Ticket targeting this issue? https://issues.apache.org/jira/browse/CAMEL Cheers, Christoph On Dec 11, 2012, at 4:51 PM, Philipp Koch wrote: > Hi Everybod

[ANNOUNCE] Apache Camel 2.9.5 and 2.10.3 Released

2012-12-12 Thread hadrian
The Apache Camel project [1] is a powerful open source integration framework based on known Enterprise Integration Patterns [2]. The Camel community announces the immediate availability of two new minor releases camel-2.9.5 and camel-2.10.3. This announcement is actually one week late, as the

Re: losing headers after mondodb endpoint

2012-12-12 Thread Jason Chaffee
I like that idea, but there could be a situation where it is distributed, meaning there is either a MQ between them for store and forward or DOSGI. On Dec 12, 2012, at 8:15 PM, "Willem jiang" wrote: > Hi, > > You may consider to store those headers into exchange properties. > Camel will he

Re: Python Script Producing a File

2012-12-12 Thread Willem jiang
You can leverage camel-jetty or camel-servlet to receive the request, and then route the message to the script endpoint like this. … -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (

Re: CXF: Service Implementer could not be invoked

2012-12-12 Thread Willem jiang
The GreetServiceImpl will not be called as in the camel-cxf component, the invoker which could be used to invoke the method of implementer is replaced to send the message to camel route. That is why the greetProcessor is called. In this way we can bridge the CXF service with the camel route. -

Re: CXF: Service Implementer could not be invoked

2012-12-12 Thread santhosh
Ok for your requirement here is what you need to do.Create a jax-ws endpoint and drop into META-INF/spring. Create a file named whatever sensible in xml format.For demo lets assume the name is beans.xml.The contents of beans.xml would be http://www.springframework.org/schema/beans http://www.spr

Re: losing headers after mondodb endpoint

2012-12-12 Thread Willem jiang
Hi, You may consider to store those headers into exchange properties. Camel will help you to copy exchange properties across the endpoints by default if they are not in the different JVM. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http

losing headers after mondodb endpoint

2012-12-12 Thread Jason Chaffee
I am processing a REST call using CXFRS and then sending that to a mongodb endpoint, and finally building up the Response for the CXFRS endpoint. I would like to access the headers that CXFRS puts in the Exchange when I build up the Response (I probably need to get some Context objects out of t

Re: Looking for right pattern combination with Multicast, Enrichment and Aggregation

2012-12-12 Thread Christian Müller
I think you need something like this (Java DSL): from("activemq:queue:a") .enrich("direct:sub", new MyAggregationStrategy()) // see http://camel.apache.org/content-enricher.html .to("activemq:queue:b") from("direct:sub") .convertBodyTo(SubA.class) // see http://camel.apache.org/type-convert

Re: mock.expectedMessageCount(0) resulting in a false positive

2012-12-12 Thread Babak Vahdat
Am 12.12.12 16:08 schrieb "Babak Vahdat" unter : > > >Am 12.12.12 14:23 schrieb "camel.user2.ch" unter >: > >>Hi, >> >>I'm running an integration test using the CamelSpringJUnit4ClassRunner to >>test a route JMS -> Processor -> SFTP endpoint. In my test, I use a >>ProducerTemplate to fire a mess

Re: Looking for right pattern combination with Multicast, Enrichment and Aggregation

2012-12-12 Thread gheidorn
The second pipeline had a comment in it that was filtered out by the html rendering. It should have read: // aggregate copy of Object A from multicast with result from enrich component gheidorn wrote > I'm looking for the right pattern(s) to apply to the following scenario: > > 1.

Re: Error handling when using camel-cxf

2012-12-12 Thread Aki Yoshida
The behavior differs depending on the configuration. I'll try to give a short overview. If you have a request-response type service, the exception is normally transferred to the caller. In that case, the corresponding soap fault is returned to the caller and the http code is 500 for such general s

Re: Using Dead letter channel with ActiveMQ?

2012-12-12 Thread dunnlow
Willem, thank you for your response - although I'm sorry, I don't fully understand it. I have a transacted route that pulls a msg from activemq and sends it to another route that multicasts that message to a variety of services. If any of those services throw an exception I want to leave the ms

Re: CXF: Service Implementer could not be invoked

2012-12-12 Thread Aki Yoshida
Isn't it your intention that you receive a soap message at the cxf endpoint and forward the message payload to your greetProcessor bean to process it? If you want to just call the service itself, you could have used just a CXF jaxws endpoint using this service impl class. Maybe you can explain mo

Re: mock.expectedMessageCount(0) resulting in a false positive

2012-12-12 Thread Babak Vahdat
Am 12.12.12 14:23 schrieb "camel.user2.ch" unter : >Hi, > >I'm running an integration test using the CamelSpringJUnit4ClassRunner to >test a route JMS -> Processor -> SFTP endpoint. In my test, I use a >ProducerTemplate to fire a message to the JMS endpoint and mock the SFTP >endpoint where I as

Re: How to have more than one condition in simple expression language

2012-12-12 Thread Bilgin Ibryam
Justin, you are right, and/or is deprecated in simple language, instead you should use && and || If you are using the xml DSL, you should xml encode, so you have to add amp; after each & HTH Bilgin On 11 December 2012 15:42, justinblandford wrote: > Thanks, that does work although I'm still uns

mock.expectedMessageCount(0) resulting in a false positive

2012-12-12 Thread camel.user2.ch
Hi, I'm running an integration test using the CamelSpringJUnit4ClassRunner to test a route JMS -> Processor -> SFTP endpoint. In my test, I use a ProducerTemplate to fire a message to the JMS endpoint and mock the SFTP endpoint where I assert sftpMockEndpoint.setExpectedMessageCount(1). This all w

camel-netty restrict connections

2012-12-12 Thread kiranreddykasa
Hi Is there any way we can restrict the number of clients that can connect the netty server ? For eg client 1 --->netty server client 2 >netty server the second connection should not be allowed while the first connection is active. Once the first connection is closed then second client

Re: Serial communication

2012-12-12 Thread Claus Ibsen
Hi As Willem said we have camel-mina, camel-mina2 (mind that is scheduled for refactor), and camel-netty. http://camel.apache.org/mina http://camel.apache.org/netty On Wed, Dec 12, 2012 at 6:04 AM, kiranreddykasa wrote: > Hi > > Is there any camel component which can be used for serial communi

Re: can i configure ActiveMQ in Camel with JAVA

2012-12-12 Thread Claus Ibsen
On Wed, Dec 12, 2012 at 7:07 AM, yuneki wrote: > > hi > > i'm newbie. > > We making very lightweight File&DB integrate server with camel only used > JAVA DSL > > > i think.. it embed ActiveMQ in ours Solution(camel based, next time it calls > FDI) > > but i cant ActiveMQ configuration repo DB, pat