Package org.hornetq.api.core.management

Examples of org.hornetq.api.core.management.CoreNotificationType


   @Override
   public void onNotification(Notification notification)
   {
      if (!(notification.getType() instanceof CoreNotificationType)) return;

      CoreNotificationType type = (CoreNotificationType) notification.getType();

      TypedProperties props = notification.getProperties();

      switch (type)
      {
View Full Code Here


      {
         // TODO - optimised this by just passing int in header - but filter needs to be extended to support IN with
         // a list of integers
         SimpleString type = message.getSimpleStringProperty(ManagementHelper.HDR_NOTIFICATION_TYPE);

         CoreNotificationType ntype = CoreNotificationType.valueOf(type.toString());

         switch (ntype)
         {
            case BINDING_ADDED:
            {
View Full Code Here

      {
         HornetQServerLogger.LOGGER.trace("Receiving notification : " + notification + " on server " + this.server);
      }
      synchronized (notificationLock)
      {
         CoreNotificationType type = (CoreNotificationType) notification.getType();

         switch (type)
         {
            case BINDING_ADDED:
            {
View Full Code Here

   @Override
   public void onNotification(org.hornetq.core.server.management.Notification notification)
   {
      if (!(notification.getType() instanceof CoreNotificationType)) return;
      CoreNotificationType type = (CoreNotificationType) notification.getType();
      TypedProperties prop = notification.getProperties();

      this.broadcaster.sendNotification(new Notification(type.toString(), this,
            notifSeq.incrementAndGet(), notification.toString()));
   }
View Full Code Here

TOP

Related Classes of org.hornetq.api.core.management.CoreNotificationType

Copyright © 2018 www.massapicom. 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.