public interface JCSMPProducerEventHandler
ProducerEvent
.
Note: Event notifications can occur on the session's I/O and event thread, so an application may not call session operations from this callback handler, as this could cause a deadlock.
The callback is registered when a message producer is created (see JCSMPSession.getMessageProducer(JCSMPStreamingPublishEventHandler, JCSMPProducerEventHandler)
for details).
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(ProducerEventArgs event)
Called when a producer event notification is available.
|
void handleEvent(ProducerEventArgs event)
event
- The event to process.Copyright 2004-2024 Solace Corporation. All rights reserved.