How to pass extra parameters when EJB client invokes EJB in JBoss EAP 6

Solution Verified - Updated -

Issue

  • We need to be able to pass few extra parameters when invoking EJBs (local and remote). These parameters can not be a part of method signature. We tried ejbContext, TransactionSynchronizationRegistry and those do not work. We also tried https://issues.jboss.org/browse/AS7-5021 but it does not work in JBoss EAP 6.0.0

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

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