Passing environment variable to URI in Spring XML

2012-02-22 Thread saiya-jin
Hello, I googled quite a lot, but I didn't find something that would work for me. Situation is pretty simple: I need to use a JVM variable (passed when launching process with "-Dtopdir=XXX") of current folder where app is residing. Because of a way app is installed (symlinks to launch scripts etc)

Re: connecting to new jms implementation

2011-11-25 Thread saiya-jin
never mind last post, it was a misfired message via ProducerTemplate. Producer part works, now I'll take a look at Consumer part, which requires polling and firing messages into Camel. Thanx so far! ;) -- View this message in context: http://camel.465427.n5.nabble.com/connecting-to-new-jms-imple

Re: connecting to new jms implementation

2011-11-25 Thread saiya-jin
Thank You a lot, it helped me to move forward. Methods at my endpoint are called, but unfortunately process(Exchange exchange) on my Producer is not called when message is sent, and thus communication line is not finished. Methods like doStart() from DefaultConsumer are. Is the endpoint name in UR

Re: connecting to new jms implementation

2011-11-25 Thread saiya-jin
Hello, I tried to create as simple component as possible that represents the case I need to implement (I am using provided ActiveMQ broker to post messages that are consumed by my Component). When I try to launch simple test that sends 1 message to broker via ProducerTemplate, but whole setup is b

Re: connecting to new jms implementation

2011-11-24 Thread saiya-jin
Hello, thank You both for advices. i started implementing my own Component and whole set of classes around it, taking inspiration from JmsComponent and ActiveMQ connector. Here is what I try to achieve in dumb code (without proper connection pooling etc.). AMIQueueConnectionFactory factory = new

connecting to new jms implementation

2011-11-23 Thread saiya-jin
Hello, I have been given a task to integrate Camel to rather unstandard JMS implementation that is coming with one of core banking packages. It basically serves as a bridge that transforms JMS messages to SQL so queues are in fact tables underneath. I tried simple approach with setting up their int