Stomp with Immutant 2.1.0

46 views
Skip to first unread message

Jochen

unread,
Oct 22, 2015, 4:31:41 PM10/22/15
to Immutant
Hi...

so far all attempts to get stomp messaging working with Immutant 2.1.0 are unsuccessful. I use a hornets-configuration.xml in the resources folder that is apparently picked up correctly as I get the following stack trace in the logs (abbreviated):

22:21:53.609 WARN  [org.hornetq.core.server] (main) HQ222080: Error instantiating remoting acceptor org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory
org.hornetq.api.core.HornetQException: HQ119085: Classpath lacks a protocol-manager for protocol STOMP
at org.hornetq.core.remoting.server.impl.RemotingServiceImpl.start(RemotingServiceImpl.java:284) ~[hornetq-server-2.4.5.Final.jar:na]
at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1749) ~[hornetq-server-2.4.5.Final.jar:na]
at org.hornetq.core.server.impl.HornetQServerImpl.access$1400(HornetQServerImpl.java:171) ~[hornetq-server-2.4.5.Final.jar:na]
at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2208) ~[hornetq-server-2.4.5.Final.jar:na]
        ...

Any idea what I can do to get this to work? Stomp is mandatory for the project and woks just fine in another of our projects with stock Wildly 9.0.0.

Otherwise, Immutant looks really great, thanks for the great work!

Ciao

...Jochen


Toby Crawley

unread,
Oct 22, 2015, 4:55:36 PM10/22/15
to Jochen, Immutant
Immutant doesn't depend on the jar that provides STOMP support for
HornetQ. Try adding:

[org.hornetq/hornetq-stomp-protocol "2.4.5.Final"]

to your :dependencies in project.clj, and let us know if that works or not.

- Toby
> --
> You received this message because you are subscribed to the Google Groups
> "Immutant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to immutant+u...@googlegroups.com.
> To post to this group, send email to immu...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/immutant/51c69199-c611-4202-bd03-6c48508a3b81%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Jochen

unread,
Oct 22, 2015, 5:32:30 PM10/22/15
to Immutant, joc...@riekhof.de
Hi Tony...

Works like a charm now.

Thank you for the lightning-fast reply!
 
Ciao

...Jochen
Reply all
Reply to author
Forward
0 new messages