Bug 1130125 - MQTT producer fails with AssertionError if it runs as a unit test
Summary: MQTT producer fails with AssertionError if it runs as a unit test
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Camel
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Tomohisa Igarashi
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-14 11:58 UTC by Tomohisa Igarashi
Modified: 2025-02-10 03:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:42:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA CAMEL-7662 0 None None None Never
Red Hat Issue Tracker SWITCHYARD-2221 0 Major Resolved camel-mqtt producer fails to publish with AssertionError in a unit test 2016-05-06 19:53:54 UTC

Description Tomohisa Igarashi 2014-08-14 11:58:37 UTC
camel-mqtt producer fails with following AssertionError if it runs as a unit test. Willem just found it happens if JVM assertion is enabled (surefire enables it by default). See CAMEL-7662 for a reproducer and more details.

Caused by: java.lang.AssertionError: Dispatch queue 'mqtt client' was not executing, (currently executing: '<not-dispatched>')
	at org.fusesource.hawtdispatch.internal.SerialDispatchQueue.assertExecuting(SerialDispatchQueue.java:145)
	at org.fusesource.mqtt.client.CallbackConnection.publish(CallbackConnection.java:585)
	at org.fusesource.mqtt.client.CallbackConnection.publish(CallbackConnection.java:581)
	at org.apache.camel.component.mqtt.MQTTEndpoint.publish(MQTTEndpoint.java:160)
	at org.apache.camel.component.mqtt.MQTTProducer.process(MQTTProducer.java:58)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:120)

Comment 1 Tomohisa Igarashi 2014-11-16 10:54:52 UTC
Submitted a pull request for CAMEL-7662.

Comment 2 JBoss JIRA Server 2015-07-08 04:16:33 UTC
Tomohisa igarashi <tm.igarashi> updated the status of jira SWITCHYARD-2221 to Resolved

Comment 5 Red Hat Bugzilla 2025-02-10 03:42:46 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.