immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
staypufd 2018-03-09T19:58:00.000257Z

Hello Immutants

staypufd 2018-03-09T19:58:08.000563Z

I have a question on the messaging

staypufd 2018-03-09T19:58:32.000178Z

I’m trying to run two seperate REPL’s and message between them.

staypufd 2018-03-09T19:58:55.000337Z

I create a queue with a listener that just does a println in one repl session

staypufd 2018-03-09T19:59:44.000277Z

and in the other, I use the (with-open and remote context) stuff to try to send a message to the other running instance in the other repl. It never shows up

staypufd 2018-03-09T20:00:32.000465Z

the error says the reconnection was successful in the hornetq client, but then the last 3 errors are Session was already closed, giving up now

staypufd 2018-03-09T20:00:37.000010Z

I’m not sure why

staypufd 2018-03-09T20:01:05.000370Z

when I go to first repl where the queue is created with listener, I can publish locally there and it works no problem

staypufd 2018-03-09T20:02:11.000536Z

I’ve tried running the queue in a uberjar and hitting that from another repl instance that’s running, but again it doesn’t get there

staypufd 2018-03-09T20:02:39.000215Z

That’s code I’m using on repl

staypufd 2018-03-09T20:03:03.000489Z

both are running on my local box, so I put “localhost” as the remote :host

staypufd 2018-03-09T20:05:33.000377Z

@staypufd uploaded a file: https://clojurians.slack.com/files/U060WE55Z/F9NKP1007/-.clj

staypufd 2018-03-09T20:06:19.000618Z

From that the log statement before publish gets printed but message never seems to get to queue running in other repl or uberjar either way

2018-03-09T21:07:31.000196Z

@staypufd my environment is kinda messed up atm, so i can't actually try it out, but i'm leery of that messaging-remoting-port

2018-03-09T21:07:36.000276Z

are you sure that's correct?