mrstampy / Stampy

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

gateway.connect() undocumented Thread.sleep() required #16

Open teknopaul opened 6 years ago

teknopaul commented 6 years ago

When trying to implement the example code I find that

gateway.connect();

is needed , but I suspect this is not all, I have to Thread.sleep(...) for an unspecified amount of time before it is actually connected, I guess I need to respond to some callback?