Package org.switchyard.component.jca.composer

Examples of org.switchyard.component.jca.composer.JMSBindingData


                break;
            default:
                    msg = session.createObjectMessage();
            }
           
            producer.send(_composer.decompose(exchange, new JMSBindingData(msg)).getMessage());
           
            if (session.getTransacted()) {
                try {
                    session.commit();
                } catch (Exception e) {
View Full Code Here


    @Override
    public void onMessage(Message message) {

        try {
            JMSBindingData bindingData = new JMSBindingData(message);
            final String operation = _selector != null ? _selector.selectOperation(bindingData).getLocalPart() : null;
            SynchronousInOutHandler replyHandler = new SynchronousInOutHandler();
            Exchange exchange = createExchange(operation, replyHandler);
            exchange.send(_composer.compose(bindingData, exchange));
View Full Code Here

                msg = session.createMessage();
                break;
            default:
                msg = session.createObjectMessage();
            }
            producer.send(_composer.decompose(exchange, new JMSBindingData(msg)).getMessage());
        } catch (Exception e) {
            JCALogger.ROOT_LOGGER.failedToSendMessage(destination.toString(), e.getMessage());
            if (_logger.isDebugEnabled()) {
                _logger.debug(e);
            }
View Full Code Here

TOP

Related Classes of org.switchyard.component.jca.composer.JMSBindingData

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.