Contents
namespace solace.QueueBrowserEventName
An enumeration of queue browser event names. A solace.QueueBrowser will emit these events as part of its lifecycle. Applications, having created a QueueBrowser can choose to listen to all of the events described here, or any subset of these events. For Example:
qb = solace.Session.createQueueBrowser(...);
qb.on(solace.QueueBrowserEventName.CONNECT_FAILED_ERROR,
function connectFailedErrorEventCb(error) {
// details is an OperationError object
});
Static Properties & Enumerations Top
string |
CONNECT_FAILED_ERROR
= QueueBrowserEventName_connectFailedError
| ||
string |
DISPOSED
= QueueBrowserEventName_disposed
| ||
string |
DOWN
= QueueBrowserEventName_down
| ||
string |
DOWN_ERROR
= QueueBrowserEventName_downError
| ||
string |
GM_DISABLED
= QueueBrowserEventName_GMDisabled
| ||
string |
MESSAGE
= QueueBrowserEventName_message
| ||
string |
UP
= QueueBrowserEventName_up
|
Events Top
Static Properties & Enumerations Detail Top
static
public
string
CONNECT_FAILED_ERROR
= QueueBrowserEventName_connectFailedError
QueueBrowserEventName_connectFailedError
static
public
string
DISPOSED
= QueueBrowserEventName_disposed
QueueBrowserEventName_disposed
static
public
string
DOWN
= QueueBrowserEventName_down
QueueBrowserEventName_down
static
public
string
DOWN_ERROR
= QueueBrowserEventName_downError
QueueBrowserEventName_downError
static
public
string
GM_DISABLED
= QueueBrowserEventName_GMDisabled
QueueBrowserEventName_GMDisabled
static
public
string
MESSAGE
= QueueBrowserEventName_message
QueueBrowserEventName_message
static
public
string
UP
= QueueBrowserEventName_up
QueueBrowserEventName_up
Events Detail Top
The queue browser attempted to connect but was unsuccessful. The queue browser is disabled.
public
void
DISPOSED
( )
The queue browser is being disposed. No further events will be emitted.
public
void
DOWN
( )
The queue browser is successfully disconnected. The queue browser is disabled.
The queue browser was established and then disconnected by the router, likely due to operator intervention. The queue browser is disabled.
public
void
GM_DISABLED
( )
The queue browser will not connect because the current session is incompatible with Guaranteed Messaging. The queue browser is disabled until a compatible session is available.
A message was received on the queue browser.
If the application did not retain a reference to the message, it may be redelivered by calling solace.QueueBrowser#disconnect followed by solace.QueueBrowser#connect depending on the configuration of the queue.
When there is no listener for MESSAGE on a QueueBrowser, messages are queued internally until a listener is added.
public
void
UP
( )
The queue browser is established.