Package net.sf.atjc

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

TOP

Related Classes of net.sf.atjc.DestinationType

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.