Re: Using Camel without Maven

2009-05-29 Thread Claus Ibsen
On Sat, May 30, 2009 at 12:25 AM, buzzterrier wrote: > > Hello, > > The documentation and sample apps for this project are really exceptional, > but all of the sample apps are using Maven and the Camel plugin. This > magically fires up ActiveMQ and runs the app, but totally hides what is > happeni

Using Camel without Maven

2009-05-29 Thread buzzterrier
Hello, The documentation and sample apps for this project are really exceptional, but all of the sample apps are using Maven and the Camel plugin. This magically fires up ActiveMQ and runs the app, but totally hides what is happening under the covers. Does anyone know how to manually deploy and r

Re: Sending a message between two ActiveMQ using mina

2009-05-29 Thread Claus Ibsen
On Fri, May 29, 2009 at 3:56 PM, Simpor wrote: > > Hi, thanks for the fast reply! > > I just realized that I forgot to mention what version I was using and you > had already responded then. :-) > > My version is: apache-camel-2.0-M1 > > Ok.. I don't really follow you with the inOnly or outOnly. Ha

Re: Sending a message between two ActiveMQ using mina

2009-05-29 Thread Simpor
Hi, thanks for the fast reply! I just realized that I forgot to mention what version I was using and you had already responded then. :-) My version is: apache-camel-2.0-M1 Ok.. I don't really follow you with the inOnly or outOnly. Haven't I specified: SideA: ActiveMQ-1, queue1->send with mina/t

Re: Camel-Spring and Bean post processors

2009-05-29 Thread Doug Douglass
This might be a red herring, but I think I've experienced something similar when using Spring's @ManagedResource with JPA @Transational in the same class (perhaps not the best practice, but that's a different topic). The @Transactional annotations were processed first, creating a proxy object, but

Re: Sending a message between two ActiveMQ using mina

2009-05-29 Thread Claus Ibsen
Hi What version of Camel are you using? You have to decide whether you are using *inOnly* or *inOut* messaging style. >From what you write in the start it sounds like an *inOnly* but one of the JMS producers expect a reply, and hence it thinks its a *inOut* message. You can use .inOnly() in the

Sending a message between two ActiveMQ using mina

2009-05-29 Thread Simpor
Ok so I want to route a message from a ActiveMQ queue through mina:tcp and into an other activeMQ queue. Using this code on one side (A): RouteBuilder builder = new RouteBuilder() { public void configure() { from("mina:tcp://localhost:5500?textline=true").to("

Re: Camel-Spring and Bean post processors

2009-05-29 Thread Claus Ibsen
Hi A hibernate user had an issue with using some @ hibernate annotations with Camel. And another one had a problem with running it from Gerinimo Server. There is something lurking in there, that causes these annotations to not being applied. I have not had the time to debug and investigate mysel

Re: JPA Converter problem

2009-05-29 Thread Claus Ibsen
Hi Which version of Camel are you using? How do you start Camel? And which JPA implementation are you using? And is the @Converter a standard feature in JPA or something that is specific to the Eclipse Persistence? Have you tried JPA and the Eclipse Persistence without Camel, can you get it to

Re: JPA Converter problem

2009-05-29 Thread Leen Toelen
Hi, I can only find the one from my target org.eclipse.persistence.internal.sessions.factories - org.eclipse.persistence.core_1.1.0.r3634.jar - C:\development\targets Regards, Leen On Fri, May 29, 2009 at 2:56 PM, Willem Jiang wrote: > Hi, > > Can you check if there is another version of > org.

Re: JPA Converter problem

2009-05-29 Thread Willem Jiang
Hi, Can you check if there is another version of org.eclipse.persistence.mappings.converters.Converter that your Converter implements in the ClassPath ? Willem Leen Toelen wrote: > Hi, > I am trying to get my JPA entity classes to work with camel, but ran into a > problem. One one the fields is

JPA Converter problem

2009-05-29 Thread Leen Toelen
Hi, I am trying to get my JPA entity classes to work with camel, but ran into a problem. One one the fields is a compressed string, and I use a org.eclipse.persistence.mappings.converters.Converter on my entity to automatically convert it like this: @Basic @Column(name = "XML_Data") @Converter(con

Camel-Spring and Bean post processors

2009-05-29 Thread Martin Gilday
Hi, I am having trouble with camel-spring (1.6.0) and a InstantiationAwareBeanPostProcessorAdapter I have written. It processes a custom annotation to set fields on Spring beans directly from .properties files. The processor works correctly until I try to @Autowired into a Java Camel RouteBuilde