Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (unknown [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6ECCF200BAE for ; Fri, 28 Oct 2016 09:35:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D4D5160AE3; Fri, 28 Oct 2016 07:35:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B450E160ADD for ; Fri, 28 Oct 2016 09:35:16 +0200 (CEST) Received: (qmail 82737 invoked by uid 500); 28 Oct 2016 07:35:15 -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 82725 invoked by uid 99); 28 Oct 2016 07:35:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 07:35:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E25291A9952 for ; Fri, 28 Oct 2016 07:35:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.692 X-Spam-Level: * X-Spam-Status: No, score=1.692 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id g3cMPsEsxo3g for ; Fri, 28 Oct 2016 07:35:11 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 29C575F245 for ; Fri, 28 Oct 2016 07:35:11 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id q7so39014128qtq.1 for ; Fri, 28 Oct 2016 00:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=8OJNbWlOSs2vqUahMItE5QwBNaTXS2I1NVeE3Dm9pOU=; b=01/sUb9vd4ynRZSSKate8pmXF3vOI2JwEQs0qRTC2biNven1HxUloV/UOh9FtYdrcW MwiUg/yOhYP8aiGpY3cG+6VOsBe4CTPns1saZ/2JzaWUwJelgl6M6xo38tClqjsy3UoK hDqbL38Q9pwViKBAYL+Lp7E2rgLRNUfdimh7OZOYhX4q+GAUaBxRpNcGTNRMeMbMyFI6 bi/3qf39s1TBiWEXAMZ45OGbFWJ4VtiWT7eVnpE8jqXMKLsc2PCFAT07Igr99LHKZPU/ fuchjWEpqF1VFcQ8C0YkV8geb76fO3WVBDL+wSw0RwOdtPvu1ewqBgyMJawuCmCLzGRZ z/8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=8OJNbWlOSs2vqUahMItE5QwBNaTXS2I1NVeE3Dm9pOU=; b=UXb5PKXLMQ6J419M1CjuH5YZsYgqgJlXAszxgKkzrfJlXtMYlgZYSgQu9L5fzE6ieF Ks6qHBn7aLn2Za4wBry7uy9mvJFT63bXB0cyyny07LXnpuYZfG/J08gBHqEnAqOUymN8 UCgVtlQAmb3N2RljqjjFGzT6IdUJ1pOarsl2LzgYKeJeXSCnaFqhGHaAEI4iOzga2UTD PwpzXg+lXEwIUC4evRTp0ZPFV2bxXfXEvevQW9EvYwuTDG7u7xhPRMkTOdDgf5dHykpu FzSsfmw0gEDwxRr3tNADuo3ujoDHqipgsXfOlNv5Sn+RGdxq9IGcSSyLnYeWAf/cK2Ni WFmg== X-Gm-Message-State: ABUngveTIyVJyf73ubaOYl/dLUSH5yCkt5xuqGjIILDp21718TLKjq/e6uDXDKr8bgLTf18GKqiW6Dc8tVI3Yw== X-Received: by 10.200.48.49 with SMTP id f46mr9858622qte.64.1477639806024; Fri, 28 Oct 2016 00:30:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.62.141 with HTTP; Fri, 28 Oct 2016 00:29:45 -0700 (PDT) In-Reply-To: <1477571910352-5789346.post@n5.nabble.com> References: <1477571910352-5789346.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 28 Oct 2016 09:29:45 +0200 Message-ID: Subject: Re: JpaConsumer endpoint not showing up in hawtio. To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 28 Oct 2016 07:35:17 -0000 Hi Are you creating the endpoint instance yourself eg do you do JpaEndpoint jpaEventoPieza = new JpaEndpoint(); Its likely related to this fact if you create the endpoint instance yourself. Also try upgrading Camel to a newer release. On Thu, Oct 27, 2016 at 2:38 PM, raulsperoni wrote: > Hi, i'm using wildly-camel, camel 2.16.3, hawtio (1.4.60) comes really handy, > but i can't get routes with jpa consumer endpoint to appear in the list, in > fact i'm using direct channels to join the jpaconsumer route with the rest. > > Do you have any idea why this is happening? > > Here is an example... > > //EventoPieza > jpaEventoPieza.setCamelContext(getContext()); > jpaEventoPieza.setEntityType(EventoPieza.class); > jpaEventoPieza.setEntityManagerFactory(entityManagerFactory); > jpaEventoPieza.setTransactionManager(transactionManager); > jpaEventoPieza.setEndpointUriIfNotSpecified("jpa://archivoEventoPieza"); > //Consumer > jpaEventoPieza.setConsumeDelete(false); > Map prop = new HashMap<>(); > prop.put("delay", delay); > prop.put("namedQuery", "pieza.paraArchivar"); > jpaEventoPieza.setConsumerProperties(prop); > jpaEventoPieza.setBackoffMultiplier(backoff_multiplier); > jpaEventoPieza.setBackoffIdleThreshold(backoff_threshold); > jpaEventoPieza.setMaximumResults(1000); > > from(jpaEventoPieza).to("direct:archivarEventoPieza").autoStartup(isHabilitado()); > from("direct:archivarEventoPieza").routeId("A_" + id_prefix) > .setHeader("key", > constant(Configuracion.GENERAL_ARCHIVO_OFFSET)).... > > > Thanks! > > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/JpaConsumer-endpoint-not-showing-up-in-hawtio-tp5789346.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2