camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1373532 - in /camel/branches/camel-2.10.x: ./ components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java
Date Wed, 15 Aug 2012 17:27:24 GMT
Author: davsclaus
Date: Wed Aug 15 17:27:23 2012
New Revision: 1373532

URL: http://svn.apache.org/viewvc?rev=1373532&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/CAMEL-5411

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    camel/branches/camel-2.10.x/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1361126

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.10.x/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java?rev=1373532&r1=1373531&r2=1373532&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java
(original)
+++ camel/branches/camel-2.10.x/components/camel-mqtt/src/main/java/org/apache/camel/component/mqtt/MQTTEndpoint.java
Wed Aug 15 17:27:23 2012
@@ -85,7 +85,7 @@ public class MQTTEndpoint extends Defaul
 
                 if (!consumers.isEmpty()) {
                     Exchange exchange = createExchange();
-                    exchange.getIn().setBody(body.getData());
+                    exchange.getIn().setBody(body.toByteArray());
                     exchange.setProperty(configuration.getMqttTopicPropertyName(), topic.toString());
                     for (MQTTConsumer consumer : consumers) {
                         try {



Mime
View raw message