Controlling / Running a Single instance of MDB for an Application.

Solution Unverified - Updated -

Issue

We have an EJB2 application. It is packaged as a war and an Embedded EJB2 Jar. The EJB2 jar contains an EJB2 Stateless Session Bean and an EJB2 Message Driven Bean.

Due to some constraints in the application we need to restrict the MDB  being run for this specific application to Single instance only (Singleton behavior).

Environment

  • JBoss Enterprise Application Platform (EAP)

    • 5.1.1
  • EJB 2

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