camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject How to impl bean-side of proxy w/Future return?
Date Wed, 13 Jul 2011 00:43:30 GMT
When using proxies and beans to hide all Camel details from the application-layer, how does
one implement the bean-side of the Future returning request?

public interface SimpleService
{
    Future<String> test();
}

public class SimpleServiceImpl
    implements SimpleService
{
    public Future<String> test() {
        return ???
    }
}

Is it even possible to have a bean backing up a proxy invocation that returns a Future?

--jason
Mime
View raw message