Re: problem to inject producer for JMS queue in geronimo

2009-05-22 Thread Xasima Xirohata
I have created an issue with eclipse project attached to ask help to resolve the problem. https://issues.apache.org/activemq/browse/CAMEL-1636 On Sat, May 16, 2009 at 5:59 PM, Claus Ibsen wrote: > On Wed, May 13, 2009 at 12:48 PM, Xasima Xirohata wrote: >> Sorry to mail you only, not in list. I

Scala and Spring config

2009-05-22 Thread EwanH
How does one get a reference to the camelcontext when using a spring ContextLoaderListener set in web.xml that configures a RouteBuilder using package scanning? Below I have context that on start seems to boot up fine: http://activemq.apache.org/camel/schema/spring";> myapp.routes Howe

Re: Scala and Spring config

2009-05-22 Thread James Strachan
2009/5/22 EwanH : > > How does one get a reference to the camelcontext If your bean implements CamelContextAware it will be injected into you > when using a spring > ContextLoaderListener set in web.xml that configures a RouteBuilder using > package scanning?  Below I have context that on start

Re: Scala and Spring config

2009-05-22 Thread EwanH
My spring is a bit rusty and I am struggling to find a way to get the bean factory using scala inside a Lift app and yes once I get that then I can get the template bean as you suggest. -- Ewan James.Strachan wrote: > > 2009/5/22 EwanH : >> >> How does one get a reference to the camelcontext

Re: Scala and Spring config

2009-05-22 Thread James Strachan
2009/5/22 EwanH : > My spring is a bit rusty and I am struggling to find a way to get the bean > factory using scala inside a Lift app and yes once I get that then I can get > the template bean as you suggest. I'm a tad confused too :) Maybe could you step back a little and describe how you're us

Re: Scala and Spring config

2009-05-22 Thread EwanH
Ok I have it sussed now... I am using Lift as my web framework and want to incorporate camel for routing using scala which works fine when I create my own DefaultCamelContext and add routes manually. But if I choose to have the camel context bootstrapped by the standard spring listener I could

Re: Scala and Spring config

2009-05-22 Thread James Strachan
2009/5/22 EwanH : > > Ok I have it sussed now... > > I am using Lift as my web framework and want to incorporate camel for > routing using scala which works fine when I create my own > DefaultCamelContext and add routes manually. FWIW I've recently been using Lift with Jersey/JAXRS - I've got the

Re: Scala and Spring config

2009-05-22 Thread EwanH
James.Strachan wrote: > > I wonder if a debugger/profiler/thread dump can tell you whats causing > the block? Some blocked request/reply in a route? > Not tried debugging yet but the route is pretty simple "direct:testMe" to "http://localhost:8080"; to "log:messages" which does produce the

Re: Get The intercepted endpoint when using inetrcept()

2009-05-22 Thread Claus Ibsen
On Wed, May 20, 2009 at 9:19 AM, S. Ali Tokmen wrote: > Hello Claus > > Did you open a bug for this? Else, I'll show Malek how to open one :) Yes I created a ticket to track it https://issues.apache.org/activemq/browse/CAMEL-1632 And its fixed already. > > Cheers > > S. Ali Tokmen > savas-ali.

Re: Looking for quartz Job examples.

2009-05-22 Thread Claus Ibsen
On Tue, May 19, 2009 at 6:07 PM, Eric Bouer wrote: > Hello List. > I'm new to camel and I looked over the Quartz  component page in the > documentation. > I couldn't find any usefull example for using quartz jobs. > I can see that I'm able to set job.name in the URI but > I don't see where and how

Re: Simple FTP producer with errorhandling

2009-05-22 Thread Claus Ibsen
Hi Yes as harinair pointed out you have to configure the error handling to your use case. I agree the default one in Camel 1.x is really not good. We have changed that in Camel 2.0 so it doesnt use the DeadLetterChannel so the exception is propagated back to the caller. Well that is just a side no

Re: Unsafe Headers present in HTTP Component

2009-05-22 Thread Claus Ibsen
On Fri, May 22, 2009 at 1:21 AM, harinair wrote: > > Hi All: > > I use Camel to post messages to an external vendor's HTTP server using the > HTTP Producer. Recently some we found that our messages are not being > accepted by Microsoft IIS server. When we looked closely we found that a > bunch of

Re: Hot to write a Simple FTP producer with errorhandling

2009-05-22 Thread Claus Ibsen
On Fri, May 22, 2009 at 12:49 AM, Peter Thygesen wrote: > Thx > I had already tried with try catch.. but with out luck.. the documentation > on camel.apache.org is to be honest.. a little confusing and messed up. When > looking at the examples it is not always clear enough which version they > app

Re: Can Modify Mail/SMTP component to accept Sender Name along with Sender Email

2009-05-22 Thread Claus Ibsen
Hi Do you mind creating a ticket in JIRA for the fromName option. That is a good option to have in the URI. On Thu, May 21, 2009 at 1:47 PM, rohitbrai wrote: > > In the immediate case I need to change this - > > > if (empty(mimeMessage.getFrom())) { > >     //default the address to the endpoint

Re: How can we handle and respond to SMTP Server errors/failures in mail component

2009-05-22 Thread Claus Ibsen
On Fri, May 22, 2009 at 6:59 AM, rohitbrai wrote: > > My quest to build the mail delivery system using camel is in the last mile. I > want to implement delivery retries. > > The scenario is - > The mail component tries to send a mail and couldn't cause either the SMTP > server was down/rejected co

Re: Unsafe Headers present in HTTP Component

2009-05-22 Thread harinair
Claus: routerDeliveryChannelAQueue is a Sun MQ. > But the processor job you do will of course also do the trick and > remove the unwanted ones from SUN MQ. Claus, I think you did not get what I was trying to say. The unsafe message was not present in the Pipeline! I did: Message message= exchan

Re: Can only use direct:start and mock:result in unit tests

2009-05-22 Thread andrewbee2
Thank you guys. I pulled in all the component jars (50+) and it worked. In order to just have the one(s) I need, can you tell me which components give you endpoints for arbitrary queue names such as andrew:start and andrew:end? Thanks willem.jiang wrote: > > Yes, if you want to use message que

Re: Unsafe Headers present in HTTP Component

2009-05-22 Thread Claus Ibsen
On Fri, May 22, 2009 at 7:01 PM, harinair wrote: > > Claus: > > routerDeliveryChannelAQueue is a Sun MQ. >> But the processor job you do will of course also do the trick and >> remove the unwanted ones from SUN MQ. > > Claus, I think you did not get what I was trying to say. The unsafe message > w

Re: Can only use direct:start and mock:result in unit tests

2009-05-22 Thread Claus Ibsen
On Fri, May 22, 2009 at 7:45 PM, andrewbee2 wrote: > > Thank you guys. I pulled in all the component jars (50+) and it worked. In > order to just have the one(s) I need, can you tell me which components give > you endpoints for arbitrary queue names such as andrew:start and andrew:end? Hi See the

Help with aggregation

2009-05-22 Thread EJLeVin1
Hi Everyone, OK so I have somewhat of a complicated question. I am trying to develop an aggregation strategy for a spring remoting pipe within camel. Here is the flow: Request: direct:request -> activemq:topic -> (process) Response: (process) -> activemq:topic -> (do custom aggregation)

Complex Aggregation Question

2009-05-22 Thread Eric LeVin
Hi Everyone, OK so I have somewhat of a complicated question. I am trying to develop an aggregation strategy for a spring remoting pipe within camel. Here is the flow: Request: direct:request -> activemq:topic -> (process) Response: (process) -> activemq:topic -> (do custom aggregation

Re: Help with aggregation

2009-05-22 Thread Willem Jiang
Hi, EJLeVin1 wrote: > Hi Everyone, > OK so I have somewhat of a complicated question. I am trying to > develop an aggregation strategy for a spring remoting pipe within camel. > Here is the flow: > > Request: direct:request -> activemq:topic -> (process) > Response: (process) -> active