Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E994A6741 for ; Wed, 13 Jul 2011 00:44:05 +0000 (UTC) Received: (qmail 5217 invoked by uid 500); 13 Jul 2011 00:44:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 5171 invoked by uid 500); 13 Jul 2011 00:44:04 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 5163 invoked by uid 99); 13 Jul 2011 00:44:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 00:44:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jason.dillon@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-iw0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 00:43:55 +0000 Received: by iwn3 with SMTP id 3so2852109iwn.32 for ; Tue, 12 Jul 2011 17:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; bh=8P87RveZ9OKABIWpsx9tEUJEYQVOh69Z1355uAAGprM=; b=qRhdSieqFxYwmzfmfAnI0zFpohzOkCGCX8DXlSQgSeiYMupP/jqJy2ijGdwvf7VAwW Kw75dr4PBhjwJ48paoP3SEnBSjZQtvyuNZUt9Wpqvo6kxWGLKEe2RAxHJlfpDlBd/8tD hEjo8q/wjFnjix7c1WCy5rSvf2zedj1/pqb5E= Received: by 10.231.47.134 with SMTP id n6mr486181ibf.7.1310517814787; Tue, 12 Jul 2011 17:43:34 -0700 (PDT) Received: from [10.0.1.55] (c-98-248-96-179.hsd1.ca.comcast.net [98.248.96.179]) by mx.google.com with ESMTPS id my4sm8585503ibb.37.2011.07.12.17.43.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jul 2011 17:43:33 -0700 (PDT) Sender: Jason Dillon From: Jason Dillon Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to impl bean-side of proxy w/Future return? Date: Tue, 12 Jul 2011 17:43:30 -0700 Message-Id: <62D0B4B9-13AC-4F68-970B-AF71A97FFC21@planet57.com> To: users@camel.apache.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org 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 test(); } public class SimpleServiceImpl implements SimpleService { public Future test() { return ??? } } Is it even possible to have a bean backing up a proxy invocation that = returns a Future? --jason=