Package org.apache.cxf.transport.jms

Examples of org.apache.cxf.transport.jms.JMSConfigFeature


    }
    if (!jmsConfigured) {
      setupJmsConfiguration();
    }
    final EndpointImpl ei = (EndpointImpl) endpoint;
    final JMSConfigFeature feature = new JMSConfigFeature();
    feature.setJmsConfig(jmsConfiguration);
    List<Feature> features = ei.getFeatures();
    if (features == null) {
      features = new ArrayList<Feature>();
    }
    features.add(feature);
View Full Code Here


    if (!jmsConfigured) {
      setupJmsConfiguration();
    }
    final DispatchImpl<?> di = (DispatchImpl<?>) dispatch;
    final Client cl = di.getClient();
    final JMSConfigFeature feature = new JMSConfigFeature();
    feature.setJmsConfig(jmsConfiguration);
    feature.initialize(cl, cl.getBus());
    return dispatch;
  }
View Full Code Here

    if (!jmsConfigured) {
      setupJmsConfiguration();
    }
    final DispatchImpl<?> di = (DispatchImpl<?>) dispatch;
    final Client cl = di.getClient();
    final JMSConfigFeature feature = new JMSConfigFeature();
    feature.setJmsConfig(jmsConfiguration);
    feature.initialize(cl, cl.getBus());
    return dispatch;
  }
View Full Code Here

      return null;
    }
    if (!jmsConfigured) {
      setupJmsConfiguration();
    }
    final JMSConfigFeature feature = new JMSConfigFeature();
    feature.setJmsConfig(jmsConfiguration);
    List<Feature> features = serverFactory.getFeatures();
    if (features == null) {
      features = new ArrayList<Feature>();
    }
    features.add(feature);
View Full Code Here

            = new PooledConnectionFactory(broker.getBrokerURL());
        jmsConfig.setConnectionFactory(connectionFactory);
        jmsConfig.setTargetDestination("greeter.queue.noaop");
        jmsConfig.setPubSubDomain(false);

        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
        jmsConfigFeature.setJmsConfig(jmsConfig);
        factory.getFeatures().add(jmsConfigFeature);

        Greeter greeter = (Greeter)factory.create();
        doService(greeter, false);
    }   
View Full Code Here

            jmsConfig.setTargetDestination("greeter.queue.noaop");
            jmsConfig.setSessionTransacted(true);
            jmsConfig.setPubSubDomain(false);
            jmsConfig.setCacheLevel(3);
   
            JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
            jmsConfigFeature.setJmsConfig(jmsConfig);
            endpoint.getFeatures().add(jmsConfigFeature);
            endpoint.publish();
        }
View Full Code Here

        jmsConfig.setConnectionFactory(connectionFactory);
        jmsConfig.setTargetDestination("greeter.queue.noaop");
        jmsConfig.setPubSubDomain(false);
        jmsConfig.setUseJms11(true);

        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
        jmsConfigFeature.setJmsConfig(jmsConfig);
        factory.getFeatures().add(jmsConfigFeature);

        Greeter greeter = (Greeter)factory.create();
        doService(greeter, false);
    }   
View Full Code Here

        jmsConfig.setConnectionFactory(connectionFactory);
        jmsConfig.setTargetDestination("greeter.queue.noaop");
        jmsConfig.setPubSubDomain(false);
        jmsConfig.setUseJms11(true);

        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
        jmsConfigFeature.setJmsConfig(jmsConfig);
        factory.getFeatures().add(jmsConfigFeature);

        Greeter greeter = (Greeter)factory.create();
        doService(greeter, false);
    }   
View Full Code Here

            jmsConfig.setPubSubDomain(false);
            jmsConfig.setUseJms11(true);
            jmsConfig.setTransactionManager(new JmsTransactionManager(connectionFactory));
            jmsConfig.setCacheLevel(3);
   
            JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
            jmsConfigFeature.setJmsConfig(jmsConfig);
            endpoint.getFeatures().add(jmsConfigFeature);
            endpoint.publish();
        }
View Full Code Here

TOP

Related Classes of org.apache.cxf.transport.jms.JMSConfigFeature

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.