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 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.