Examples of NotificationType


Examples of org.apache.airavata.workflow.tracking.client.NotificationType

            xc.dispose();
        } catch (XmlException e) {
            logger.error("error parsing message content: " + message, e);
            e.printStackTrace();
        }
        NotificationType type = MessageUtil.getType(messageObj);
        this.callback.deliverMessage(this.topic, type, messageObj);

    }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.client.NotificationType

     */
    public void publishSync(String message) {

        try {
            XmlObject xmlMessage = XmlObject.Factory.parse(message);
            NotificationType type = MessageUtil.getType(xmlMessage);
            listener.deliverMessage(topic, type, xmlMessage);
        } catch (XmlException e) {
            System.err.println("Error parsing workflow tracking message : [" + message + "]\n" + "as an XML Object");
            e.printStackTrace();
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.client.NotificationType

            xc.dispose();
        } catch (XmlException e) {
            logger.error("error parsing message content: " + message, e);
            e.printStackTrace();
        }
        NotificationType type = MessageUtil.getType(messageObj);
        this.callback.deliverMessage(this.topic, type, messageObj);

    }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.client.NotificationType

                xc.dispose();
            } catch (XmlException e) {
                logger.error("error parsing message content: " + messageContent, e);
                e.printStackTrace();
            }
            NotificationType type = MessageUtil.getType(messageObj);
            this.callback.deliverMessage(topic, type, messageObj);

        } else {
            logger.info("Notification came without a Notification Topic:" + envelope);
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.client.NotificationType

            xc.dispose();
        } catch (XmlException e) {
            logger.error("error parsing message content: " + message, e);
            e.printStackTrace();
        }
        NotificationType type = MessageUtil.getType(messageObj);
        this.callback.deliverMessage(this.topic, type, messageObj);

    }
View Full Code Here

Examples of org.eurekastreams.server.domain.NotificationType

        Map<String, Object> properties = new LazyLoadPropertiesMap<Object>(propertyList, propertyLoadMappers);

        List<UserActionRequest> asyncRequests = inActionContext.getUserActionRequests();
        for (Entry<NotificationType, Collection<Long>> notification : batch.getRecipients().entrySet())
        {
            NotificationType type = notification.getKey();
            Collection<Long> recipientIds = notification.getValue();

            for (String notifierKey : notifiers.keySet())
            {
                log.debug("Filtering {} recipients for notifier {} from this list: {}", new Object[] { type,
View Full Code Here

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

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

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

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

            // 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);

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

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

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

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

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

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

            // 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);

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

            switch (ntype)
            {
               case BINDING_ADDED:
               {
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.