You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by le...@Domino.com.tw on 2026/09/10 02:14:46 UTC

ActiveMQ 6.2.9 and camel Content-Based Routing

Dear all,

I upgraded ActiveMQ from 6.2.6 to 6.2.9 and I also added 
camel-util-json-4.21.0.jar file, but it fails when starting Camel 
Content-Based Routing.

I tried to fix it, but after loading complete, it always shows the error 
message:

「Failed to execute main task. Reason: java.lang.NoSuchMethodError: 
'org.springframework.context.ApplicationContext 
org.springframework.context.event.ContextRefreshedEvent.getSource()'」

Additionally, the above error message does not appear in activemq.log.

Attached are my activemq.log, screenshots, and the activemq.xml file I 
configured, thanks.





------------------------------------------------------------------------

Letters Wang 王信智

專案經理 Project Manager
崇太科技實業有限公司 ChunTai Tech Industrial Co., Ltd
http://www.domino.com.tw/
    TEL:02-2558-1229#235
Mobile:0921-688-559

Re: ActiveMQ 6.2.9 and camel Content-Based Routing

Posted by Matt Pavlovich <ma...@apache.org>.
Hi Letters-

That error looks indicates a problem with the alignment of dependencies. Specifically, that error is coming from the Spring framework. There is not enough information in this to answer your question.

I invite you to attach your log, and redacted configuration to a GitHub issue — https://github.com/apache/activemq/issues

Thanks,
Matt Pavlovich

> On Sep 9, 2026, at 9:14 PM, letterswang@domino.com.tw <le...@Domino.com.tw> wrote:
> 
> Dear all, 
> 
> I upgraded ActiveMQ from 6.2.6 to 6.2.9 and I also added camel-util-json-4.21.0.jar file, but it fails when starting Camel Content-Based Routing. 
> 
> I tried to fix it, but after loading complete, it always shows the error message: 
> 
> 「Failed to execute main task. Reason: java.lang.NoSuchMethodError: 'org.springframework.context.ApplicationContext org.springframework.context.event.ContextRefreshedEvent.getSource()'」 
> 
> Additionally, the above error message does not appear in activemq.log. 
> 
> Attached are my activemq.log, screenshots, and the activemq.xml file I configured, thanks. 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Letters Wang 王信智
> 
> 專案經理 Project Manager
> 崇太科技實業有限公司 ChunTai Tech Industrial Co., Ltd
> http://www.domino.com.tw/
>    TEL:02-2558-1229#235
> Mobile:0921-688-559 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact


Re: ActiveMQ 6.2.9 and camel Content-Based Routing

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi

This will be fixed in ActiveMQ 6.2.10 (currently in vote).

See: https://github.com/apache/activemq/pull/2586

Regards
JB

On Thu, Sep 10, 2026 at 4:14 AM <le...@domino.com.tw> wrote:

> Dear all,
>
> I upgraded ActiveMQ from 6.2.6 to 6.2.9 and I also added
> *camel-util-json-4.21.0.jar* file, but it fails when starting Camel
> Content-Based Routing.
>
> I tried to fix it, but after loading complete, it always shows the error
> message:
>
> 「Failed to execute main task. Reason: java.lang.NoSuchMethodError:
> 'org.springframework.context.ApplicationContext
> org.springframework.context.event.ContextRefreshedEvent.getSource()'」
>
> Additionally, the above error message does not appear in activemq.log.
>
> Attached are my activemq.log, screenshots, and the activemq.xml file I
> configured, thanks.
>
>
>
>
>
> ------------------------------------------------------------------------
>
> Letters Wang 王信智
>
> 專案經理 Project Manager
> 崇太科技實業有限公司 ChunTai Tech Industrial Co., Ltd
> http://www.domino.com.tw/
>    TEL:02-2558-1229#235 <02%2025%2058%2012%2029>
> Mobile:0921-688-559
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>