-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the bug
I try to connect to the broker:
this.solaceMessageClient.connect(sessionProperties as any).then(() => {
console.info('Connected to the broker: ' + sessionProperties.url);
}, err => {
console.error('Connection to broker failed', err);
});
But get an unauthorized from the broker.
Fixing the broker configuration.
Retry to connect but still get the unauthorized error until:
eighter reload the browser F5 or
do a (this.solaceMessageClient as ɵSolaceMessageClient).dispose();
Expected behavior
- The
_sessionget cleared on connection error. - The
_sessionget cleared on disconnect.
Question
why is dispose() not exposed by the interface SolaceMessageClient?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels