Package org.apache.servicemix.jms

Examples of org.apache.servicemix.jms.JmsEndpoint


    protected List getConsumes(Endpoint endpoint) {
        List consumesList = new ArrayList();
        Consumes consumes;
        if (endpoint.getRole().equals(MessageExchange.Role.CONSUMER)) {
            consumes = new Consumes();
            JmsEndpoint httpEndpoint = (JmsEndpoint) endpoint;
            consumes.setEndpointName(httpEndpoint.getTargetEndpoint());
            consumes.setInterfaceName(httpEndpoint.getTargetInterfaceName());
            consumes.setServiceName(httpEndpoint.getTargetService());
            if (consumes.isValid()) {
                consumesList.add(consumes);
            } else {
                consumes = new Consumes();
                consumes.setEndpointName(endpoint.getEndpoint());
View Full Code Here


  protected List getConsumes(Endpoint endpoint) {
    List consumesList = new ArrayList();
    Consumes consumes;
    if (endpoint.getRole().equals(MessageExchange.Role.CONSUMER)) {
      consumes = new Consumes();
      JmsEndpoint httpEndpoint = (JmsEndpoint) endpoint;
      consumes.setEndpointName(httpEndpoint.getTargetEndpoint());
      consumes.setInterfaceName(httpEndpoint.getTargetInterfaceName());
      consumes.setServiceName(httpEndpoint.getTargetService());
      if (consumes.isValid())
        consumesList.add(consumes);
      else {
        consumes = new Consumes();
        consumes.setEndpointName(endpoint.getEndpoint());
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jms.JmsEndpoint

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.