How to create a new instance of a bean per incoming message in Camel.

Solution Verified - Updated -

Issue

Can Camel create a new instance of my bean each time the route is executed?

Environment

  • Fuse Mediation Router/Camel 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content