vert-x3 / vertx-stomp

STOMP client/server implementation
Apache License 2.0
31 stars 28 forks source link

Handler for logging STOMP frames sent/received #12

Closed johnfoldager closed 8 years ago

johnfoldager commented 8 years ago

Make it possible to add a handler that can log the STOMP frames being sent/received through the APIs. For debugging purposes it would be really great to be able to sequentially log the messages that are being routed (either received or sent) through the APIs whether that be CONNECT, MESSAGE, DISCONNECT or any other type of STOMP frame (even heartbeat pings). If the handler takes the frame as a parameter and it is possible to check the type of frame (CONNECT, MESSAGE, ...) then it would be really great as we would be able to log the different frames in different ways (colours etc).

See discussion here: https://groups.google.com/forum/?fromgroups#!topic/vertx/pE5E4RKXueg