[ 
https://issues.apache.org/jira/browse/CAMEL-9506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096703#comment-15096703
 ] 

Pascal Schumacher edited comment on CAMEL-9506 at 1/13/16 6:06 PM:
-------------------------------------------------------------------

Yes, the fix is in the camel-2.16.x branch: 
[https://github.com/apache/camel/commit/302c91d1a49ce8985950f7da53a034bd97951b88]

The 2.16.2 should next week (+ a few days if there are any problems): 
[http://mail-archives.apache.org/mod_mbox/camel-dev/201601.mbox/%3CCADL1oApn9mWNpYjT9zBT43VbRrpTKUs7nzwp5VkzzyvCyR2%2BxA%40mail.gmail.com%3E]


was (Author: pascalschumacher):
Yes, the fix is in the camel-2.16.x branch: 
[https://github.com/apache/camel/commit/302c91d1a49ce8985950f7da53a034bd97951b88]

The 2.16.2 should next week (+ a few days if there are any problems with the 
release): 
[http://mail-archives.apache.org/mod_mbox/camel-dev/201601.mbox/%3CCADL1oApn9mWNpYjT9zBT43VbRrpTKUs7nzwp5VkzzyvCyR2%2BxA%40mail.gmail.com%3E]

> STOMP component does not handle stream objects
> ----------------------------------------------
>
>                 Key: CAMEL-9506
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9506
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-stomp
>    Affects Versions: 2.16.1
>            Reporter: Alex Ford
>            Assignee: Willem Jiang
>
> The STOMP component only performs a very simple toString() on the body of the 
> incoming exchange when it creates a STOMP message. This does not work when 
> the body does not support a toString() which gives some reasonable human 
> readable representation of the object. This is exactly the case if you try to 
> do the following:
> {code}
> from("direct:a").marshal().json(JsonLibrary.Gson).to("stomp:topic:foobar")
> {code}
> The result of the JSON serialization is a Stream, and the toString() on a 
> Stream results in an object hash (e.g. "[B@30479402"). A more appropriate 
> thing to do here is similar to what the File component does. (Basically, read 
> the stream for the data.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to