Re: Camel-http and multiple Set-Cookie headers

2011-01-08 Thread Dan Checkoway
How about this? http://commons.apache.org/collections/apidocs/org/apache/commons/collections/map/MultiValueMap.html That still implements Map, so users theoretically wouldn't have to change anything, or change much. And those who need to grab Set-Cookie headers could use .getCollection() to acce

Dynamic URI with annotation-based POJOs?

2011-01-08 Thread Dan Checkoway
I'm generally a huge fan of annotation-driven stuff. Here's one example where my hands are tied, and I can't use annotations to do what I want to do. Let's say I have this: @Consume(uri="activmeq:queue:whatever?concurrentConsumers=10") public void onWhatever(String whatever) { ... } Now let

Re: Dynamic URI with annotation-based POJOs?

2011-01-08 Thread Dan Checkoway
Yeah, I've been digging into that. It looks like I may be able to do something like this in the : And then use the {{...}} style property references on the URI? Dan On Sat, Jan 8, 2011 at 5:23 AM, Tarjei Huse wrote: > Hi, > On 01/08/2011 10:59 AM, Dan Checkoway wrote: > >

Re: Dynamic URI with annotation-based POJOs?

2011-01-08 Thread Dan Checkoway
8, 2011 at 6:42 AM, Claus Ibsen wrote: > On Sat, Jan 8, 2011 at 12:07 PM, Tarjei Huse wrote: > > On 01/08/2011 11:32 AM, Dan Checkoway wrote: > >> Yeah, I've been digging into that. It looks like I may be able to do > >> something like this in the : > >&g

Queue email to JMS then route to mail component

2011-01-15 Thread Dan Checkoway
I'm pretty sure this is NOT possible, but I want to confirm... I have various apps running on a handful of servers, and each of the apps needs to send email at one point or another. I don't want the apps talking SMTP directly. What I'd like is...when the apps need to send email, they just queue

Re: Schedule file/mail endpoint

2011-01-27 Thread Dan Checkoway
Alfred, Why not just use the mail component's consumer.delay instead of the timer+pollEnrich? i.e. something like this: Hope this helps, Dan On Thu, Jan 27, 2011 at 6:57 AM, Alfred Hiebl wrote: > > Hi, > > thanks a lot for your quick response and suggestions!! > > Now that I played a

Bug? @EndpointInject not injected in superclasses

2011-02-01 Thread Dan Checkoway
Before I report this in JIRA as a bug in Camel 2.6.0, I want to make sure what I'm trying to do is actually supported. When I use @EndpointInject in a bean in my spring app context, the endpoint gets injected no problem on either a ProducerTemplate or Endpoint. But when I use @EndpointInject on a

Re: Bug? @EndpointInject not injected in superclasses

2011-02-01 Thread Dan Checkoway
st OO. But create a JIRA and attach a small > unit test, that would be great. > > > On Tue, Feb 1, 2011 at 3:20 PM, Dan Checkoway > wrote: > > Before I report this in JIRA as a bug in Camel 2.6.0, I want to make sure > > what I'm trying to do is actually supported.

Re: camel-mail - need to force a close/reconnect

2011-07-11 Thread Dan Checkoway
nd so > on. > > I'm not 100% sure what's happening, but Google mail may be rate limiting > me > > or something. Any insight into that particular error would be much > > appreciated. > > > > But what I'm really after is...everything I've read on th

Re: camel-mail - need to force a close/reconnect

2011-07-11 Thread Dan Checkoway
il sets the DELETE flag on the message, which requires making > sure the folder's open. It should probably check your option to see > if it needs to close the folder there too. > > Don > > On Mon, Jul 11, 2011 at 11:30 AM, Dan Checkoway > wrote: > > Thanks Claus. >