node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

node-red-node-stomp - endpoint

Open NelsonCravo opened this issue 6 years ago • 3 comments

Is there a way to define a stomp endpoint as a node property? If not, how can I do to connect it?

As an example, here is the command I use to connect with Python: ws = websocket.create_connection("ws://localhost:8078/job/websocket/")

NelsonCravo avatar Sep 04 '19 15:09 NelsonCravo

err - the configuration editor for the node has both server and port etc ? (In general we prefer how-to type questions via the Discourse forum or Slack leaving the Issues list for code issues. Thanks

dceejay avatar Sep 04 '19 15:09 dceejay

In fact, it isn't a how-to type question, because there seems to be no way to registry an endpoint. In my example, the "/job/websocket/" part.

NelsonCravo avatar Sep 04 '19 18:09 NelsonCravo

this node is a client to talk to a stomp server that is elsewhere... it isn't a stomp server. you can add a topic (or queue) - as per the library it is based on https://www.npmjs.com/package/stomp-client

dceejay avatar Sep 04 '19 20:09 dceejay