Re: Problems with JMS messages being dropped by camel when restarting the context

2009-06-25 Thread Tim83
Claus Ibsen-2 wrote: > > Hi > Stopping / shutting down is hard. We have debated this before and would in > the future look into how we can make it better. > > Are you having AMQ embedded with Camel that you stop, or is AMQ a remote > broker? > > Claus Ibsen > Apache Camel Committer > > Open S

Re: Problems with JMS messages being dropped by camel when restarting the context

2009-06-24 Thread Tim83
Here's the complete exception org.springframework.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:56P3J-57576-1245848023626-0:0:2; nested exception is javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:56P3J-57

Problems with JMS messages being dropped by camel when restarting the context

2009-06-24 Thread Tim83
Hi all, I've stumbled upon an issue and am not sure how to solve it. :confused: Basicly I've setup some routes using camel 1.6.0 that consume messages and dispatches them to our services. Everything works fine except for one thing. When I restart my camel context I start to lose messages, and I

Re: Strange behaviour with camel and JMS queues

2009-06-16 Thread Tim83
Hi Claus, Claus Ibsen-2 wrote: > > I have newer seen a OutIn pattern before? > Are you sure its not InOut? > > You could try with a simpler route, eg without all the processing to > see if it works with > a simple > from(jms)->to(jms) > Maybe something happens during the processing that break

Strange behaviour with camel and JMS queues

2009-06-15 Thread Tim83
I'm seeing some strange behaviour with camel 1.6 and camel 1.6.1 First issue relates to the exchange patterns. I have setup a camel route that takes a message from a JMS queue, processes the message and sends a message to another queue. I added pattern="InOnly" on m

Re: Using camel to send and alter MapMessage to a JMS queue

2009-06-04 Thread Tim83
Thanks for the hint! I managed to get it working now. I made a beanshell processor that can be used as a bean in with Spring XML The xml config in.put("from", in.get("to")); in.put("to", in.get("toPdf"));

Using camel to send and alter MapMessage to a JMS queue

2009-06-03 Thread Tim83
Hi all, I'm having some troubles sending a MapMessage to a activemq queue using camel 1.6. basicly what I'm trying to achieve is I have an incoming map message, that first needs to go to service A, then to service B (optional). Once the message has been processed by service A, some fields in th