Examples of DestinationType


Examples of com.jms.client.entity.DestinationType

        String destinationName = JmsUtility.getDestinationName(sourceMessage.getJMSDestination());
        String jmsType = sourceMessage.getJMSType();
        long jmsTimestamp = sourceMessage.getJMSTimestamp();
        int jmsDeliveryMode = sourceMessage.getJMSDeliveryMode();
        MessageType messageType = JmsUtility.getMessageType(sourceMessage);
        DestinationType destinationType = JmsUtility.getDestinationType(sourceMessage.getJMSDestination());
        Calendar time = GregorianCalendar.getInstance();
        time.setTimeInMillis(jmsTimestamp);

        String headersString = StringFormatterHelper.formatMap(headers, "\n");
        String propertiesString = StringFormatterHelper.formatMap(properties, "\n");
View Full Code Here

Examples of net.sf.atjc.DestinationType

    Matcher matcher = DESTINATION_PATTERN.matcher(aDestionation);
    if (!matcher.matches()) {
      throw new IllegalArgumentException("Invalid destination address: " + aDestionation);
    }

    DestinationType destType = DestinationType.QUEUE;
    if (!StringUtils.isBlank(matcher.group(2))) {
      destType = DestinationType.parse(matcher.group(2).trim());
      if (destType == null) {
        throw new IllegalArgumentException("Invalid destination type: " + matcher.group(2));
      }
View Full Code Here

Examples of org.fcrepo.server.messaging.JMSManager.DestinationType

                boolean transacted =
                        Boolean.parseBoolean(dsConfig
                                .getParameter("transacted"));
                String ackMode = dsConfig.getParameter("ackMode");

                DestinationType destType = DestinationType.Topic;
                if (type.equalsIgnoreCase("queue")) {
                    destType = DestinationType.Queue;
                }

                int destAckMode = Session.AUTO_ACKNOWLEDGE;
View Full Code Here

Examples of org.jitterbit.integration.jms.DestinationType

     * @param type
     *            one of <code>JmsDestinationType.QUEUE</code> or
     *            <code>JmsDestinationType.TOPIC</code>.
     */
    public void setDestinationType(DestinationType type) {
        DestinationType old;
        synchronized (getDataLock()) {
            old = getDestinationType();
            setProperty(DESTINATION_TYPE, type.name());
        }
        if (old != type) {
View Full Code Here

Examples of org.jitterbit.integration.jms.DestinationType

        ui.requestFocus();
    }

    @Override
    public void applyTo(JmsLocation loc) {
        DestinationType type = buttons.getSelection();
        if (type == null) {
            type = JmsLocation.DEFAULT_TYPE;
        }
        loc.setDestinationType(type);
    }
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.DestinationType

            return false;
        }
       
        //Check For Different Bindings.
        SourceType st = source.get(0);
        DestinationType dt = dest.get(0);
       
        //Get Service Name
        Service sourceService = model.getService(st.getService());
        Service destService = model.getService(dt.getService());
        if (null == sourceService
            || null == destService) {
            return false;
        }
       
        Port sourcePort = sourceService.getPort(st.getPort());
        Port destPort = destService.getPort(dt.getPort());
       
        if (null == sourcePort
            || null == destPort) {
            return false;
        }
View Full Code Here

Examples of org.objectweb.celtix.routing.configuration.DestinationType

                                      QName destService, String destPort) {
        SourceType st = new SourceType();
        st.setService(srcService);
        st.setPort(srcPort);

        DestinationType dt = new DestinationType();
        dt.setPort(destPort);
        dt.setService(destService);

        RouteType rt = new RouteType();
        rt.setName(routeName);

        List<SourceType> sList = rt.getSource();
View Full Code Here

Examples of org.springframework.amqp.core.Binding.DestinationType

    this.adminsThatShouldDeclare = adminsThatShouldDeclare;
  }

  public Binding getObject() throws Exception {
    String destination;
    DestinationType destinationType;
    if (destinationQueue != null) {
      destination = destinationQueue.getName();
      destinationType = DestinationType.QUEUE;
    } else {
      destination = destinationExchange.getName();
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.