Fork me on GitHub
#immutant
<
2018-03-09
>
staypufd19:03:00

Hello Immutants

staypufd19:03:08

I have a question on the messaging

staypufd19:03:32

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

staypufd19:03:55

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

staypufd19:03:44

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

staypufd20:03:32

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

staypufd20:03:37

I’m not sure why

staypufd20:03:05

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

staypufd20:03:11

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

staypufd20:03:39

That’s code I’m using on repl

staypufd20:03:03

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

staypufd20:03:19

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

jcrossley321:03:31

@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

jcrossley321:03:36

are you sure that's correct?