From 4c2d2f75d8a9d7db23bf38d8db9c3dce9ae2d223 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 14 Sep 2009 11:44:33 +0000 Subject: in host-jms-asf comment out callbacks for now to get basic requests working first git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814591 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/host/jms/asf/JMSServiceListenerFactoryImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'java/sca/modules/host-jms-asf') diff --git a/java/sca/modules/host-jms-asf/src/main/java/org/apache/tuscany/sca/host/jms/asf/JMSServiceListenerFactoryImpl.java b/java/sca/modules/host-jms-asf/src/main/java/org/apache/tuscany/sca/host/jms/asf/JMSServiceListenerFactoryImpl.java index 16cfb545e2..dfc4c5952b 100644 --- a/java/sca/modules/host-jms-asf/src/main/java/org/apache/tuscany/sca/host/jms/asf/JMSServiceListenerFactoryImpl.java +++ b/java/sca/modules/host-jms-asf/src/main/java/org/apache/tuscany/sca/host/jms/asf/JMSServiceListenerFactoryImpl.java @@ -22,7 +22,7 @@ package org.apache.tuscany.sca.host.jms.asf; import javax.jms.MessageListener; import javax.naming.NamingException; -import org.apache.tuscany.sca.binding.jms.impl.JMSBindingException; +import org.apache.tuscany.sca.binding.jms.JMSBindingException; import org.apache.tuscany.sca.binding.jms.provider.JMSBindingServiceBindingProvider; import org.apache.tuscany.sca.binding.jms.provider.JMSResourceFactory; import org.apache.tuscany.sca.host.jms.JMSServiceListener; @@ -47,7 +47,9 @@ public class JMSServiceListenerFactoryImpl implements JMSServiceListenerFactory MessageListener listener = new ServiceInvoker(jmsSLD.getJmsBinding(), jmsSLD.getService(), jmsSLD.getTargetBinding(), jmsSLD.getMessageFactory(), rf); RuntimeComponentService service = jmsSLD.getService(); - return new ASFListener(listener, service.getName(), service.isCallback(), jmsSLD.getJmsBinding(), workScheduler, rf); +// return new ASFListener(listener, service.getName(), service.isCallback(), jmsSLD.getJmsBinding(), workScheduler, rf); +// TODO: 2.x migration, service.isCallback() + return new ASFListener(listener, service.getName(), false, jmsSLD.getJmsBinding(), workScheduler, rf); } catch (NamingException e) { throw new JMSBindingException(e); -- cgit v1.2.3