Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0993611D4C for ; Tue, 8 Jul 2014 06:33:36 +0000 (UTC) Received: (qmail 37106 invoked by uid 500); 8 Jul 2014 06:33:36 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 37078 invoked by uid 500); 8 Jul 2014 06:33:35 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 37068 invoked by uid 99); 8 Jul 2014 06:33:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 06:33:35 +0000 Date: Tue, 8 Jul 2014 06:33:35 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7563) Allow passing HazelcastInstance as a query parameter of a Hazelcast component endpoint. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054567#comment-14054567 ] Willem Jiang commented on CAMEL-7563: ------------------------------------- We camel context look up the component, it always lookup the component from the registry (which holds reference of blueprint beans or spring beans) first. Please change the below bean id to "hazelcast", in this way camel can use this configured component directly. {code} {code} > Allow passing HazelcastInstance as a query parameter of a Hazelcast component endpoint. > --------------------------------------------------------------------------------------- > > Key: CAMEL-7563 > URL: https://issues.apache.org/jira/browse/CAMEL-7563 > Project: Camel > Issue Type: Improvement > Components: camel-hazelcast > Reporter: Alexander Lomov > Assignee: Willem Jiang > Priority: Minor > Fix For: 2.14.0 > > > It is impossible now to pass an existing HazelcastInstance to a HazelcastEndpoint as a bean from Registry. It complicates Hazelcast Endpoint usage in any DI environment. -- This message was sent by Atlassian JIRA (v6.2#6252)