Re: Camel Spring Remoting throwing RuntimeException question

2009-08-07 Thread akuhtz

Hi Claus

I've created the JIRA issue 1888 with a patch and a test case for the
problem with the Exception.


For the problem with the camel-example-pojo-messaging where the camelLock
files remain in the src/data dirctory on my machine.

The steps as stated in readme.txt:

call mvn compile camel:run


-- files are delivered and *.camelLock are created in src/data


-- Ctrl+C to terminate the camel:run 

-- I see shutdown messages for the camel context.


delete the messages folder in target .. just to see if the messages are
processed

call mvn camel:run again

-- the files are not processed. But in the output I can see that the
FileConsumer prints Total 3 files to consume on DEBUG level, but nothing
happens.



My machine is running XP and I have tested with jre 1.5.0_16 and 1.6.0_14.
-- 
View this message in context: 
http://www.nabble.com/Camel-Spring-Remoting-throwing-RuntimeException-question-tp24825646p24861894.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel Spring Remoting throwing RuntimeException question

2009-08-06 Thread akuhtz

Hi

Thanks for the reply. I think the test-case is slightly different than what
my request was. If you change the EchoPojo to inject a dynamic proxy you
will see the problem that I have (see code below).


public class EchoPojo {

@Produce(uri = direct:echo)
//private ProducerTemplate service;
private Echo service;

@Consume(uri = direct:start)
public String onEcho(String name) {
//return (String) service.requestBody(name);
return (String) service.echo(name);
}

}


-- 
View this message in context: 
http://www.nabble.com/Camel-Spring-Remoting-throwing-RuntimeException-question-tp24825646p24841441.html
Sent from the Camel - Users mailing list archive at Nabble.com.