Hi Claus -

Consumer.java: http://pastebin.com/f4d1425bf
Producer.java: http://pastebin.com/fa83d285
camel.xml: http://pastebin.com/f4d1425bf


I am running this in an OSGi bundle in FUSE ESB 4.  Running this inside FUSE
ESB 4.0.0.4 (Camel 1.5.4.0-fuse) I am able to make the "No producer, this
processor has not been started" exception happen just after my bundle is
deployed.  The exception does not happen every time, but it does occur
frequently.

I just tried upgrading to FUSE ESB 4.1.0.0 (Camel 1.6.0.0-fuse) and it seems
I am no longer able to make the exception happen with this version so far. 
Looking at the release notes I am not certain which change would fix this
problem, but I guess I am happy it seems to work reliably now. :)


Claus Ibsen-2 wrote:
> 
> Hi
> 
> Can you post your route and POJO code to pastebin or create a JIRA
> ticket in Camel then I can take a look at it.
> 
> On Sat, May 16, 2009 at 1:54 PM, ariekenb <[email protected]>
> wrote:
>>
>>
>> Claus Ibsen-2 wrote:
>>>
>>>>
>>>> Is there an easy way to know if all components/processors in a
>>>> CamelContext
>>>> are started?  I can easily get the CamelContext injected into the
>>>> producer
>>>> bean, but I'm not sure what components I would need to check isStarted
>>>> on
>>>> before sending a message.
>>> Yeah I guess you can check the camel context itself if its started.
>>> There where some changes recently regarding this. Might work better in
>>> 1.6.1+.
>>> There is a JIRA Ticket somewhere on this. Dont have time to find it.
>>>
>> I think you're referring to this JIRA issue:
>> http://issues.apache.org/activemq/browse/CAMEL-1509  If I understand
>> correctly the meaning of "isStarted" on a camel context was fixed up so
>> "isStarted" is false while "isStarting" is true.
>>http://pastebin.com/f4d1425bf
>> It seems strange to me that a spring-injected camel resource like
>> ProducerTemplate can be "not started" when it is injected.  Aren't
>> injected
>> resources supposed to be ready to go immediately?
>>
>> Does camel inject resources before the context is started for performance
>> reasons?  Are there any plans to change this?
>> --
>> View this message in context:
>> http://www.nabble.com/SEDA-Component-Exception%3A-No-producer%2C-this-processor-has-not-been-started%21-tp23407604p23573062.html
>> Sent from the Camel - Users (activemq) mailing list archive at
>> Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SEDA-Component-Exception%3A-No-producer%2C-this-processor-has-not-been-started%21-tp23407604p23684906.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to