Data retrieval and updation in same table and in same route using Camel

Solution Verified - Updated -

Issue

I need a route like this,

from("jetty:http://0.0.0.0:7007/test").from("jpa:entityA").process(...).to("jpa:entityA")

Whenever a request hits this route to jetty component, it should fetch data from table, do some processing and update the same table again. How to achieve this?

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.