Queue Browsing in distributed queue Env

2012-10-29 Thread ambarish.d
Hello All, Sorry for re-posting as my previous post was abducted by an another academics topic. tI am using Apache ActiveMQ distributed queues, on executing endPoint.getExchanges(), I am actually getting messages from a random broker where camel is connected now. JmsQueueEndpoint endPoint =

Queue Browsing in distributed queue Env

2012-10-26 Thread ambarish.d
Hello All, I am using Apache ActiveMQ distributed queues, on executing endPoint.getExchanges(), I am actually getting messages from a random broker where camel is connected now. JmsQueueEndpoint endPoint = camelContext.getEndpoint(toDestination, JmsQueueEndpoint.class); endPoint.getExchanges();

Re: Camel with IBM MQ JNDI

2012-08-23 Thread ambarish.d
Hello Henryk I have edited the post and added my code here. As I said earlier, I am using Java for this route. - thanks Amby http://workingwithqueues.blogspot.com/ -- View this message in context: http://camel.465427.n5.nabble.com/Camel-with-IBM-MQ-JNDI-tp5717890p5717968.html Sent from

Camel with IBM MQ JNDI

2012-08-22 Thread ambarish.d
Hello I am trying to use Camel with IBM MQ Queue. I want to set few properties with JNDI on Queue Object. I found few thread Destination Resolver is the answer but I am not able to find any Java example of doing this. I am using Java for creating Endpoint and Producer template. Destination

Re: Converting CSV to XML

2012-07-20 Thread ambarish.d
Hello Claus, Thanks for the help. Bindy was really helpful. I am still using xstream though, its lot more easier (I feel). Giving the working solution of this problem if anybody needs one. /DataFormat bindy = new BindyCsvDataFormat(com.your.package.dto);

Re: Failed to load type converters

2012-07-03 Thread ambarish.d
Babak, Thanks but I am already using camel 2.9.0. For ActiveMQ I am on 5.4.2 and out of scope for me to upgrade provider version. Is there any workaround available for this issue. - thanks Amby -- View this message in context:

Re: Converting CSV to XML

2012-05-19 Thread ambarish.d
Yogesh, Actually, I am looking for more generic solution which will take any CSV as input and convert it into required XML format. So is the reason I cant use XSLT in this case. Its my bad that I didnt specified this in original problem description. Please let me know if I am wrong in

Converting CSV to XML

2012-05-17 Thread ambarish.d
Hello, I want to convert a CSV file to XML file in proper format. I have following code which is doing the Job but output is not a expected one. context.addRoutes(new RouteBuilder() { public void configure() {