Not able to configure Active MQ properly

Solution Unverified - Updated -

Issue

  • I did setup AMQ and able to save message in queue and also written consumer in java that picks up message and it works when I have one Container and only when we deploy new version and restart the container.
    Problem: I create one another container2 and point to same profile, later I shutdown container1 and found error for A-MQ message. later know my code is pointing only container1 amq and that is shutdown.
  • Using Pojo consuming as in camel community doc here. Here @Consumer annotation is used for consuming a message.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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