Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-961

Use of request scoped component in a MDB results in a ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 1.1.1.Final
    • Scopes & Contexts
    • None

      Injecting a request scoped component in a Message Driven Bean results in the following exception when a message is received:

      ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped

      The CDI specification states that "the request scope is active ... during any message delivery to a MessageListener for a JMS topic or queue obtained from the Java EE component environment.

              Unassigned Unassigned
              stefano.travelli@gmail.com Stefano Travelli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: