Re: Producer Template Failure on Glassfish AIX

2013-07-26 Thread Claus Ibsen
Hi Thanks for coming back and sharing the solution to this problem. On Fri, Jul 26, 2013 at 11:27 PM, peter.berkman wrote: > update: IBM was able to reproduce the issue and is correcting it in Java 1.6 > -- as a work around, installing Java 1.7 and reconfiguring Glassfish to > utilize 1.7 FIXES

Using {date:..} placeholder in camel-context endpoint

2013-07-26 Thread roger_rabbit
Hi, I am wondering whether it is possible to use a ${date:now:MMdd} on an endpoint in my camel context file, in order to specify a date-related endpoint (my endpoint will change everyday according to date). I tried something such as : but this didn't work : the first parameter "/com.my

Trouble getting the GUI application started while executing the tracer project

2013-07-26 Thread jelramzy
Hi there, i am trying to test the tracer example provided with the 2.11.0 distribution but i do not see any GUI application started as mentionned in the project description here http://camel.apache.org/tracer-example.html . I only see the application started in the console ( and i interact with i

Re: FTP Consumer, move file to failed directory

2013-07-26 Thread akcameluser
Hi This post has been submitted yesterday and it's still flagged that it hasn't been accepted by the mailing list yet. Have done anything wrong? Thanks Ayache -- View this message in context: http://camel.465427.n5.nabble.com/FTP-Consumer-move-file-to-failed-directory-tp5736265p5736282.html

Re: Incoming message from a JMS queue need to be processed in parallel but keep the ordering of messages

2013-07-26 Thread salemi
Hi Guys, I am now exploring the idea of JMS message groups. I was wondering how we can configure camel properly to support proper routing in a failover scenario. In a fail over scenario, I need two camel instances per messages groups. I my example above we will need two camel instances for a , b

FTP Consumer, move file to failed directory

2013-07-26 Thread akcameluser
Hi I have a requirement by which I need to move a file to a failed directory whenever a custom exception is thrown within a Router. The way I handle the exception is through onException(xx).process(new CustomProcessor()). All I do in the processor is do some cleaning up and notify the stakehol

Using a single port for all Jetty Consumers

2013-07-26 Thread nezor
Hello, I know that it is possible to have multiple Jetty Consumer endpoints exposed on the same port via this thread http://camel.465427.n5.nabble.com/jetty-component-sharing-the-same-port-td3321379.html . D

Render JSP page using Jetty Component

2013-07-26 Thread humayun0156
Hi, is it possible to render a jsp page using jetty component? Say i've route like this from("jetty://http://0.0.0.0:8081/users";) .process(new MyProcessor()); now if i hit this url and i want to render a jsp page. is it possible? Thanks -Humayun -- View this message in context: http://ca

How is the QuartzEndpoint's LoadBalancer work?

2013-07-26 Thread saltnlight5
Hi there, In the QuartzEndpoint.java code, it has a built-in LoadBalancer member to store each new QuartzConsumer created. Can someone show me how this is used in practice? How is this different than using the Camel configurable loadbalance() as stated in http://camel.apache.org/load-balancer.html

Re: Producer Template Failure on Glassfish AIX

2013-07-26 Thread peter.berkman
update: IBM was able to reproduce the issue and is correcting it in Java 1.6 -- as a work around, installing Java 1.7 and reconfiguring Glassfish to utilize 1.7 FIXES THE PROBLEM. -- View this message in context: http://camel.465427.n5.nabble.com/Producer-Template-Failure-on-Glassfish-AIX-tp573

Re: Different response messages

2013-07-26 Thread Usha13
I am using simple Java to post messages. Heres the code: //Reading the camel config from the spring config file ApplicationContext context = new ClassPathXmlApplicationContext("camel-client.xml"); CamelContext camel = context.getBean("camel-client", CamelContext.class);

Bug in JMS Request/Reply with CACHE_NONE and Temporary Queues

2013-07-26 Thread Mike Pilone
I believe I found a bug in the JMS request/reply implementation if the replyToCacheLevelName is set to CACHE_NONE in the JmsConfiguration. The issue is that with CACHE_NONE, the DefaultMessageListenerContainer superclass AbstractPollingMessageListenerContainer is responsible for creating and closin

Re: jsf and apache camel

2013-07-26 Thread lassesvestergaard
Ok. I have some clarifying questions then :-) jstrachan wrote > I think you're confusing anonymous processors with DI beans. A data > format is mostly just a bean which needs to be registered in some > registry (JNDI, spring, guice, whatever). Those are outside of the > camel DSL and camel looks

Socket Programming and Camel

2013-07-26 Thread Gershaw, Geoffrey
Hi All, I'm giving up on being able to send a message to a socket and receive several messages in response from Mina. Looking at Netty, and it looks to be the same issue. Goal: 1. Send a msg over a socket to a server. 2. On the same port, receive n msgs in response to the request.

RE: Spring Config. Referencing a bean created in a route

2013-07-26 Thread Gershaw, Geoffrey
So you can refer to consumerTemplate from outside the camel context? Geoffrey A Gershaw Credit eTrading Development +1 919 994 6412 (*102 6412) -Original Message- From: Christian Müller [mailto:christian.muel...@gmail.com] Sent: Friday, July 26, 2013 11:51 AM To: users@camel.apache.org

Recipient List & Multitenant ESBs

2013-07-26 Thread John D. Ament
Hi all I have a somewhat interesting use case. I want to create an ESB that has some level of multitenancy in mind. What I'm thinking is that I'll have a single end point that acts as the entry, in this case a SOAP based web service. I'm going to take the data from this webservice and put it on

Re: Spring Config. Referencing a bean created in a route

2013-07-26 Thread Christian Müller
I prefer this one: http://camel.apache.org/schema/spring";> Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.

Spring Config. Referencing a bean created in a route

2013-07-26 Thread Gershaw, Geoffrey
Hello All, I am trying to use the pollingConsumer. You need to inject the consumerTemplate into your bean. I figured that since consumerTemplate is defined within the camel context, I need to define my bean within the context. When I do this, I can't reference this bean using bean ref... .

Re: Is it Camel Bug?

2013-07-26 Thread SyedBhai
Nope. Sir, mine is a web application. If I call System.exit() tomcat server will shutdown. Syed. -- View this message in context: http://camel.465427.n5.nabble.com/Is-it-Camel-Bug-tp5736288p5736292.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: problem with aggregating multicast

2013-07-26 Thread Bilgin Ibryam
Hi FritzGerald, you have to say where does the multicast end, otherwise it will treat aggregate as another destination for the multicast... Add an .end() before the .aggregate statement. Have a look at the examples here http://camel.apache.org/multicast.html Bilgin On 26 July 2013 09:38, Frit

Re: Is it Camel Bug?

2013-07-26 Thread Bart Horré
Could a system.exit at the end of the main perhaps solve your problem? On Fri, Jul 26, 2013 at 11:06 AM, SyedBhai wrote: > Hi Camel Community, > I am having a web application project. > For every incoming request I am creating a thread that fulfills the > request. For fulfilling the request

Is it Camel Bug?

2013-07-26 Thread SyedBhai
Hi Camel Community, I am having a web application project. For every incoming request I am creating a thread that fulfills the request. For fulfilling the request the thread uses Camel Framework to communicate with the external entities such as Servlets, WebServices, etc. The problem I am fa

problem with aggregating multicast

2013-07-26 Thread FritzGerald
Hello, i'm new to camel and i'm having a problem using the multicast option. I defined four beans that do some calculations. They receive the number 5 and then add, subtract and so on. The 5 is being sent by the bean giveMeNumber. The problem is that in the end I don't receive the result I expec

Re: Assigning File names to exchanges generated from split

2013-07-26 Thread Bovas
I resolve my problem. .setHeader(Exchange.FILE_NAME).simple("${bean:mybean?method=getRes('test')}.txt") - regards, Bovas -- View this message in context: http://camel.465427.n5.nabble.com/Assigning-File-names-to-exchanges-generated-from-split-tp5715603p5736281.html Sent from the Camel -