Examples of ShutdownInfo


Examples of org.apache.activemq.command.ShutdownInfo

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        ShutdownInfo info = (ShutdownInfo) object;

    }
View Full Code Here

Examples of org.apache.activemq.command.ShutdownInfo

                        // If we announced ourselves to the broker.. Try to let the broker
                        // know that the connection is being shutdown.
                        RemoveInfo removeCommand = info.createRemoveCommand();
                        removeCommand.setLastDeliveredSequenceId(lastDeliveredSequenceId);
                        doSyncSendPacket(info.createRemoveCommand(), closeTimeout);
                        doAsyncSendPacket(new ShutdownInfo());
                    }

                    started.set(false);

                    // TODO if we move the TaskRunnerFactory to the connection
View Full Code Here

Examples of org.apache.activemq.command.ShutdownInfo

                                    List<Runnable> pendingTasks = serialExecutor.shutdownNow();
                                    if (LOG.isInfoEnabled()) {
                                        LOG.info("pending tasks on stop" + pendingTasks);
                                    }
                                }
                                localBroker.oneway(new ShutdownInfo());
                                remoteBroker.oneway(new ShutdownInfo());
                            } catch (Throwable e) {
                                if (LOG.isDebugEnabled()) {
                                    LOG.debug("Caught exception sending shutdown", e);
                                }
                            } finally {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.