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 <r...@mgcoders.uy> 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<String, Object> 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