Hi

Thanks for the update.

As it's on the client side, I don't think we have to change anything
on the STOMP transport broker side.

Regards
JB

On Sat, Oct 26, 2024 at 6:16 PM Ruediger Gad <r....@gmx.de.invalid> wrote:
>
> Hi,
>
> I've been looking into this longer than I'd like to admit. xD
> Just after sending the question to the mailing list I got another idea,
> which seems to have led me to a solution.
>
> Explicitly setting the Sec-WebSocket-Protocol header to "stomp" seems to
> have fixed the problem.
> I pushed the change to my example in the following commit:
> https://github.com/ruedigergad/activemq_ws_stomp_test/commit/53e39107a9bf2d18f0832802318ceacb73e6a7c7
>
> Sorry for the noise and thanks a lot to everyone working on ActiveMQ!
>
>
>
> Cheers,
>
> Ruediger
>
>
>
>
> On 26/10/2024 14:15, Ruediger Gad wrote:
> > Hi,
> >
> > I'm new to the mailing list.
> > I hope this is the right place to send my question to.
> > If this is not the right place, please point me in the appropriate
> > direction.
> >
> > I have a problem with ActiveMQ 6.x as follows:
> > - I try to use an embedded broker, i.e., I set everything up
> > programmatically in Java code.
> > - I want to use STOMP via WebSockets.
> > - I think the problem happens when the server side tries to update the
> > HTTP connection to the WebSocket protocol.
> > - I think the most relevant error message is:
> > [qtp1661882384-126] DEBUG org.eclipse.jetty.server.HttpChannelOverHttp -
> > No factory for Upgrade: websocket in ServerConnector@514f2020{HTTP/1.1,
> > (http/1.1)}{localhost:33444}
> >
> > I created a minimum "working" (well.. failing xD) example here:
> > https://github.com/ruedigergad/activemq_ws_stomp_test
> >
> > There, I also put instructions on running it and a bit more context of
> > the error message etc.
> >
> > If it helps, I can also send more context here but I wanted to keep the
> > initial message short.
> > Please let me know what additional information could be helpful to be
> > added here via e-mail.
> >
> > My original code is in Clojure and is a bit more involved.
> > So, I try to limit the discussion to the minimum example linked below.
> > With ActiveMQ 5.x my Clojure code works but I cannot get it working with
> > ActiveMQ 6.x, so far.
> > If it is helpful, I can try to also provide a minimum Java code example
> > for a version for ActiveMQ 5.x for comparison.
> >
> > Do you have any idea how the problem could be fixed?
> >
> >
> >
> > Thanks in advance and cheers,
> >
> > Ruediger
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
> > For additional commands, e-mail: users-h...@activemq.apache.org
> > For further information, visit: https://activemq.apache.org/contact
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
> For additional commands, e-mail: users-h...@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
For additional commands, e-mail: users-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to