If you want to call a java bean/method, then use the bean component
instead of direct
http://camel.apache.org/bean

On Thu, Feb 18, 2016 at 7:12 PM, Antonin Stefanutti
<[email protected]> wrote:
> You cannot produce to a direct endpoint that has no consumer:
>
> No consumers available on endpoint: Endpoint[direct://serviceClass]
>
>> On 18 Feb 2016, at 17:47, hoboy <[email protected]> wrote:
>>
>> My goodness this forum is really tough on camel new bee.
>> No answer to any question at all.
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/Errors-DirectConsumerNotAvailableException-No-consumers-available-tp5777818p5777863.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to