mrstampy / Stampy

Java implementation of the STOMP 1.2 specification
67 stars 22 forks source link

Why HostPort and not URI? #11

Open h6w opened 9 years ago

h6w commented 9 years ago

I'm trying to build a RabbitMQ-Webstomp system behind Apache mod-wstunnel. This allows us to turn any websocket host:port combination (e.g. localhost:61613) to an apache URI https://server/myhiddenmq and therefore work with Stomp in situations where all but the most minimal ports are blocked.

However, Stampy appears only to use the HostPort class. This doesn't seem to accept a path, or protocol, or anything else.

Is there a technical requirement only to specify connections with Host:Port combinations?

Would it be a worthy fork for me to attempt to turn all the HostPort usage to URI?