Re: Embedded web console

2012-01-04 Thread mgiammarco
Same thing for me! And I tried also to deploy projects created with maven archetype webconsole without luck. -- View this message in context: http://camel.465427.n5.nabble.com/Embedded-web-console-tp478885p5119175.html Sent from the Camel - Users mailing list archive at Nabble.com.

Aggregator clarification

2012-01-04 Thread mikaelfj
Hi, We are in the process of using the Aggregator component in our integration, and I need some clarification of whether my understanding of its persistence is correct. We are reading files from a folder structure like this: user1/inv1/.. user1/inv2/.. where all files found in e.g. user1/inv1 h

Re: ProducerCache memory leak?

2012-01-04 Thread suman
Hello, On further investigation,i found that the ProducerCache instances created for Exceptionhandlers arent being cleared. This is the one which i have in my route(To See complete route,please look at my earlier post in this email thread) I can clearly see that producercache for receipientlist an

Re: ProducerCache memory leak?

2012-01-04 Thread Claus Ibsen
Hi You need to use route scoped on exception to get that part removed as part of removing a route. On Wed, Jan 4, 2012 at 12:01 PM, suman wrote: > Hello, > On further investigation,i found that the ProducerCache instances created > for Exceptionhandlers arent being cleared. > > This is the one

Re: ProducerCache memory leak?

2012-01-04 Thread suman
Hello, Thanks for quick response. I moved the exception clause to route scope but i get the following exception while starting route.And this is because using recepientlist within that exception handling. === 2012-01-04 11:14:50,612 [ main]

Re: ProducerCache memory leak?

2012-01-04 Thread Claus Ibsen
Hi I found a glitch in the stopping logic when using the onException. I will dig a bit to get the producer cache to be removed. On Wed, Jan 4, 2012 at 12:20 PM, suman wrote: > Hello, > Thanks for quick response. > I moved the exception clause to route scope but i get the following > exception w

Re: Camel SMPP - Setting Relative times for CamelSmppValidityPeriod

2012-01-04 Thread ranjitkumarm
Hi Claus, Sorry for the delay in responding. The most convenient way to fix this issue will be to accept those headers (that support relative time) as string objects rather than date objects, but the tradeoff here will be that the developer has to construct the date string in SMPP format or depen

Re: Issue with JAXRS/JAXWS CXF service marshal to/from JSON

2012-01-04 Thread m.jimen.blazquez
Hi, I was also trying to use the camel-jackson component with camel-cxfrs componente. In my case, I have a rest POST service which receices several parameters in the url (strings) and some data in the body (in json format). I would want to get marshalled into a POJO object the body data. I still

Re: ProducerCache memory leak?

2012-01-04 Thread Claus Ibsen
On Wed, Jan 4, 2012 at 2:05 PM, Claus Ibsen wrote: > Hi > > I found a glitch in the stopping logic when using the onException. I > will dig a bit to get the producer cache to be removed. > Okay I have back ported a fix to the 2.8 branch. Can you try again. You need to use route scoped onException

Re: Aggregator clarification

2012-01-04 Thread Claus Ibsen
Hi Yes some sort of persistence is needed as the aggregator EIP is stateful. However since the source of the messages is already persistence (eg files), you may aggregate them for example by moving them to a special "aggregate directory", or leave them as is. And only store meta-data about the ag

Re: ProducerCache memory leak?

2012-01-04 Thread suman
Thanks for your help. Producercache have stopped growing.And i have configured onException() to be route specific. I will monitor it through the night and see if everything is fine. On a different note,when would these fixes make into main release/tag?Because currently i have manually checked out t

Re: ProducerCache memory leak?

2012-01-04 Thread Claus Ibsen
On Wed, Jan 4, 2012 at 4:47 PM, suman wrote: > Thanks for your help. > Producercache have stopped growing.And i have configured onException() to be > route specific. > I will monitor it through the night and see if everything is fine. > On a different note,when would these fixes make into main > r

Re: Typesafe Bean injection in routes using Registry

2012-01-04 Thread Claus Ibsen
Hi I would like to discuss this a bit. I think its an interesting thought. The old school spring IoC stuff did not really offer a lookup by type-only. But now the new kids on the block like CDI and OSGi offers that. My first wish would be that we had a out of the box camel-cdi component :). We m

Setting CXF TLSClientParameters programmatically

2012-01-04 Thread Alexandre Gattiker
As of Camel 2.9.0 I can write: Map cxfProperties = new HashMap(); cxfProperties.put(AuthorizationPolicy.class.getName(), policy); cxfEndpoint.setProperties(cxfProperties); Is there a similar way to set the TLSClientParameters? I would like to set them e.g. from the usual system properties javax.n

Re: Setting CXF TLSClientParameters programmatically

2012-01-04 Thread Daniel Kulp
On Wednesday, January 04, 2012 8:39:54 PM Alexandre Gattiker wrote: > As of Camel 2.9.0 I can write: > > Map cxfProperties = new HashMap(); > cxfProperties.put(AuthorizationPolicy.class.getName(), policy); > cxfEndpoint.setProperties(cxfProperties); > > Is there a similar way to set the TLSClient

Re: Camel SMPP - Setting Relative times for CamelSmppValidityPeriod

2012-01-04 Thread Christian Müller
I created the issue [1] and applied a patch to trunk and the 2.9.1 branch. Will update the WIKI soon. Now you can set the validity period (absolute and relative) also as string. [1] https://issues.apache.org/jira/browse/CAMEL-4862 Best, Christian On Wed, Jan 4, 2012 at 2:15 PM, ranjitkumarm wro

Re: Please explain better in-out

2012-01-04 Thread mgiammarco
Ok probably I have explained myself wrong. I need that camel consumes messages from the outside. I am testing it with: from("activemq:queryServer?exchangePattern=InOut") .to("log:it.giammar.pratobackend?showHeaders=true") .to("bean:s

Create temp queue with stomp to send messages to camel

2012-01-04 Thread mgiammarco
Hello, I have an activemq queue. I need to send messages to it with stomp. I have tried gozirra and activemq stomp client libs. I would like to receive a reply to my message so I try to put in replyto /temp-queue/ to create a temporary queue but I fail. What can I do? Thanks, Mario -- View this

Re: Issue with JAXRS/JAXWS CXF service marshal to/from JSON

2012-01-04 Thread Willem Jiang
Yes, camel-cxfrs can turn the REST request into normal method call, and it takes care of the json data marshal. All you need to do is make sure the resource classes are ready to use. On Wed Jan 4 22:55:11 2012, m.jimen.blazquez wrote: Hi, I was also trying to use the camel-jackson component w

Re: Camel SMPP - Setting Relative times for CamelSmppValidityPeriod

2012-01-04 Thread ranjitkumarm
Hi Christian, Thats great, thank you for fixing. Regards, Ranjit On Thursday, January 5, 2012, Christian Mueller [via Camel] < ml-node+s465427n5120793...@n5.nabble.com> wrote: > I created the issue [1] and applied a patch to trunk and the 2.9.1 branch. > Will update the WIKI soon. >

Re: Please explain better in-out

2012-01-04 Thread Hadrian Zbarcea
Hi, What you are looking for is a common use case supported by Camel. What you need to do is use the 'replyTo' parameter in your activemq uri [1], insead of the extra 'activemq:myReplyQueue' at the end of the route you mentioned. That will tell the activemq consumer to take the message result

Re: Bindy and FixedLength

2012-01-04 Thread Fitzcaraldo
OK. So I first tried without the @OneToMany section for the lineItems and successfully produced a TestHeader Object (using a shorter input stream) When I put the OneToMany with a full length input stream I get the following exception: Size of the record: 756 is not equal to the value provided in

Re: Setting CXF TLSClientParameters programmatically

2012-01-04 Thread Alexandre Gattiker
Good catch, many thanks! Still, it would be very useful to be able to set the key store parameters programmatically for an endpoint, rather than through system properties only. Best regards, Alexandre On Wed, Jan 4, 2012 at 9:07 PM, Daniel Kulp wrote: > On Wednesday, January 04, 2012 8:39:54 PM

Re: Setting CXF TLSClientParameters programmatically

2012-01-04 Thread David Karlsen
Absolutely. We want to do this because of individual applications running in the same container should have separate stores. Doesn't Camel operate with å SSLContext for this purpose for the components? Den 5. jan. 2012 08:09 skrev "Alexandre Gattiker" følgende: > Good catch, many thanks! > > Stil

Re: Setting CXF TLSClientParameters programmatically

2012-01-04 Thread Claus Ibsen
David have worked on uniform TLS/SSL configuration of the Camel components. He wrote a lot of documentation and whatnot here http://camel.apache.org/camel-configuration-utilities.html And from time to time add support for it with the Camel components. But I guess CXF has already a lot of bells a