There's currently no way to do that without modifying the source and recompiling.
If you did want to change the source code yourself, you'd want to look at org.apache.activemq.transport.stomp.ProtocolConverter.handleException(), where it unconditionally includes the stack trace of the exception in the content that's sent back to the STOMP client. Tim On Sun, Mar 18, 2018 at 8:47 PM, [email protected] < [email protected]> wrote: > Hello, > I am connecting to AMQ via a websocket. This all works fine. When a user > enters the wrong username or password a stacktrace is sent back to the > websocket client. I would like to not send that message to the client, is > this possible? > > Here is an example of the text sent back to a client on failed login: > https://pastebin.com/ZY28GPMT > > > Thanks, > Jason > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User- > f2341805.html >
