padcom / grails-routing

Apache License 2.0
30 stars 31 forks source link

Problem with getMockEndpoint #32

Open aahutsal opened 11 years ago

aahutsal commented 11 years ago

Matthias. I've committed the test case which works: 62879c91c3b77cbad4c9ef16ccb61cd3698e94c2

If you change the mockEndpoint initialization inside testSimpleRoute method, it will not work. Could you please research the issue? I think many ppl who use routing plugin will experience this problem.

aahutsal commented 11 years ago

I've asked about it here: http://stackoverflow.com/questions/19119238/camel-mock-endpoint-does-not-receive-any-message

aahutsal commented 11 years ago

I've fixed the problem with overriding CamelTestSupport#createCamelContext method. However, I'd really like if you look into the problem.