diff options
Diffstat (limited to 'java/sca/itest/callback-separatethread')
2 files changed, 1 insertions, 3 deletions
diff --git a/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorService.java b/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorService.java index a00578427c..4bf05fc925 100644 --- a/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorService.java +++ b/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorService.java @@ -20,13 +20,11 @@ package org.apache.tuscany.sca.itest; import org.oasisopen.sca.annotation.Callback; -import org.oasisopen.sca.annotation.Conversational; import org.oasisopen.sca.annotation.Remotable; /** * Sample Event Processor Service */ -@Conversational @Callback(EventProcessorCallBack.class) @Remotable public interface EventProcessorService { diff --git a/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorServiceImpl.java b/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorServiceImpl.java index 692ffbe8dd..b40fb7f8e6 100644 --- a/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorServiceImpl.java +++ b/java/sca/itest/callback-separatethread/src/main/java/org/apache/tuscany/sca/itest/EventProcessorServiceImpl.java @@ -35,7 +35,7 @@ import org.oasisopen.sca.annotation.Service; * Sample Event Processor Service Implementation */ @Service(EventProcessorService.class) -@Scope("CONVERSATION") +@Scope("COMPOSITE") public class EventProcessorServiceImpl implements EventProcessorService { /** |