camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohisa Igarashi (JIRA)" <>
Subject [jira] [Updated] (CAMEL-7662) MQTTProducerTest fails once enables it
Date Tue, 12 Aug 2014 12:19:11 GMT


Tomohisa Igarashi updated CAMEL-7662:

    Attachment: camel-example-mqtt.tar.gz

This example reproduces the issue by CamelMQTTExampleTest - it fails with following error
in spite of it succeeds if it runs with "mvn exec:java -PExample -DskipTests=true". CamelMQTTExampleTest
just kicks CamelMQTTExample. No difference between exec:java and test. So this strange behavior
is only shown in unit test.

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

> MQTTProducerTest fails once enables it
> --------------------------------------
>                 Key: CAMEL-7662
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mqtt
>    Affects Versions: 2.12.2, 2.14.0
>            Reporter: Tomohisa Igarashi
>            Assignee: Willem Jiang
>         Attachments: camel-example-mqtt.tar.gz
> MQTTProducerTest fails once you enable this testcase. This is disabled here:
> Although this may be a known issue as it's explicitly disabled, I'm filing this anyway
since I couldn't find any corresponding JIRA.
> It fails with different error on 2.12.2 and current upstream master, but both case show
the producer can't send messages through the MQTT producer correctly. I think there is an
issue in camel-mqtt since I hit same issue in our application (,
but even if the problem is in the testcase, it still needs to be replaced with appropriate
testcase to verify MQTT producer works correctly.

This message was sent by Atlassian JIRA

View raw message