You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/27 19:27:52 UTC

[jira] [Commented] (ARTEMIS-593) Improve STOMP over WebSocket documentation and example

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

ASF GitHub Bot commented on ARTEMIS-593:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/604

    ARTEMIS-593 + small fix for ARTEMIS-322

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-593

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/604.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #604
    
----
commit 146bce08ccbf713cfbe7aa56632da5d0eafe0c4e
Author: jbertram <jb...@apache.org>
Date:   2016-06-25T03:05:08Z

    ARTEMIS-593 clarify STOMP websocket support

commit aeafc6a974230c4850bea78e863790061e5a6521
Author: jbertram <jb...@apache.org>
Date:   2016-06-27T19:25:14Z

    ARTEMIS-322 fix spurious exception

----


> Improve STOMP over WebSocket documentation and example
> ------------------------------------------------------
>
>                 Key: ARTEMIS-593
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-593
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>
> The documentation contains:
> {quote}
> To enable Stomp over Web Sockets, you must configure a NettyAcceptor with a protocol parameter set to stomp_ws:
> <acceptor name="stomp-ws-acceptor">tcp://localhost:61614?protocols=STOMP_WS</acceptor>
> {quote}
> However, neither {{stomp_ws}} nor {{STOMP_WS}} are recognized. They both give an error like:
> {code}
> 2016-06-23 15:16:35,873 [org.apache.activemq.artemis.core.server] WARN AMQ222203: Classpath lacks a protocol-manager for protocol STOMP_WS, Protocol being ignored on acceptor TransportConfiguration(name=stomp, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyAcceptorFactory) ?port=61614&host=0-0-0-0&protocols=STOMP_WS
> {code}
> Similarly, the {{stomp-websockets}} does not work. Using a browser and clicking on {{Connect}} gives: {{Whoops! Lost connection to ws://localhost:61614/stomp}}.



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