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

O.J. Sousa Rodrigues edited comment on APLO-267 at 9/4/13 10:19 AM:
--------------------------------------------------------------------

I need to send messages between JMS and STOMP (JMS <-> TOPIC <-> STOMP 
(WebsocketClient)), but it is not working.
I did try with ActiveMQ 5.8 and Apollo 1.6 with the current WebSocket-Client 
from Apollo 1.6.

What i did find out:

* Content-Length as described in http://activemq.apache.org/stomp.html
!2013-09-04 12_07_39-Apache ActiveMQ-Stomp.png!
** but how do you remove the content-length header property? Parameter in the 
connection!?

* Workaround for STOMP -> JMS in Ruby: 
http://www.juretta.com/log/2009/05/24/activemq-jms-stomp/
* Stackoverflow: 
http://stackoverflow.com/questions/13401374/activemq-to-apollo-transition-openwire-to-stomp-protocol-configuration

* Problem is reproduceable, Java class and Websocket-Client is attached to this 
ticket and they are very simple.

Should i workaround and try to remove the header property content-length from 
JMS side (TextMessage) and STOMP to be able to communicate?


                
      was (Author: vfzevaze):
    I need to send messages between JMS and STOMP (JMS <-> TOPIC <-> STOMP 
(WebsocketClient)), but it is not working.
I did try with ActiveMQ 5.8 and Apollo 1.6 with the current WebSocket-Client 
from Apollo 1.6.

What i did find out:

* Content-Length as described in http://activemq.apache.org/stomp.html
!2013-09-04 12_07_39-Apache ActiveMQ-Stomp.png!

* Workaround for STOMP -> JMS in Ruby: 
http://www.juretta.com/log/2009/05/24/activemq-jms-stomp/
* Stackoverflow: 
http://stackoverflow.com/questions/13401374/activemq-to-apollo-transition-openwire-to-stomp-protocol-configuration

* Problem is reproduceable, Java class and Websocket-Client is attached to this 
ticket and they are very simple.

Should i workaround and try to remove the header property content-length from 
JMS side (TextMessage) and STOMP to be able to communicate?


                  
> Support rich protocol conversions of messages.
> ----------------------------------------------
>
>                 Key: APLO-267
>                 URL: https://issues.apache.org/jira/browse/APLO-267
>             Project: ActiveMQ Apollo
>          Issue Type: New Feature
>          Components: apollo-mqtt, apollo-openwire, apollo-stomp
>            Reporter: Hiram Chirino
>         Attachments: 2013-09-04 11_58_12-Chat Example Using STOMP Over 
> WebSockets.png, 2013-09-04 12_00_42-Chat Example Using STOMP Over 
> WebSockets.png, 2013-09-04 12_02_17-Chat Example Using STOMP Over 
> WebSockets.png, 2013-09-04 12_07_39-Apache ActiveMQ-Stomp.png, 
> Publisher.java, websocket.zip
>
>
> Right now messages from non-stomp protocols just get embedded as a binary 
> blob inside a STOMP message when sent to a STOMP consumer.  Would be nice you 
> could configure a richer conversion option similar to what ActiveMQ 5.x 
> supports.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to