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 25E939D94 for ; Thu, 29 Sep 2011 08:40:19 +0000 (UTC) Received: (qmail 74776 invoked by uid 500); 29 Sep 2011 08:40:18 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 74742 invoked by uid 500); 29 Sep 2011 08:40:18 -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 74734 invoked by uid 99); 29 Sep 2011 08:40:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 08:40:18 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 08:40:12 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R9C9n-0002AE-NO for users@camel.apache.org; Thu, 29 Sep 2011 01:39:51 -0700 Date: Thu, 29 Sep 2011 01:39:51 -0700 (PDT) From: smythewin To: users@camel.apache.org Message-ID: <1317285591718-4852261.post@n5.nabble.com> In-Reply-To: <4E842AC9.1080009@nanthrax.net> References: <1317124276317-4845064.post@n5.nabble.com> <4E831C48.8090803@gmail.com> <1317220024280-4849366.post@n5.nabble.com> <1317284397505-4852209.post@n5.nabble.com> <4E842AC9.1080009@nanthrax.net> Subject: Re: TypeConversion with JAXB when calling "remote" EJB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Jean-Baptiste, since your mail I wasn't thinking in that direction (setting up a JndiContext on the EJB). So thanks for the input! I used the Camel EJB component to integrate the EJB in my Camel route. Since both deployments run in same application server (ergo the same JVM) the default JndiContext on the JVM shall be used. At least thats what the documentation says on http://camel.apache.org/ejb.html cite: "/In a real application server you most likely do not have to setup a JndiContext on the EJB component as it will create a default JndiContext on the same JVM as the application server, which usually allows it to access the JNDI registry and lookup the EJBs. However if you need to access a application server on a remote JVM or the likes, you have to prepare the properties beforehand./" ). Even the EJB is found as the call happens. And there is still the type conversion left. Did I missed a critical point whilst this superficial view? Thank you all for your help. And as I stated out: My view is probably to narraw so I appreciate any hint. Sven -- View this message in context: http://camel.465427.n5.nabble.com/TypeConversion-with-JAXB-when-calling-remote-EJB-tp4845064p4852261.html Sent from the Camel - Users mailing list archive at Nabble.com.