[ 
https://issues.apache.org/jira/browse/TOMEE-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907291#comment-15907291
 ] 

ASF GitHub Bot commented on TOMEE-2021:
---------------------------------------

GitHub user jgallimore opened a pull request:

    https://github.com/apache/tomee/pull/62

    TOMEE-2021 - Backport control of listening state via JMX

    Backported from master, with a couple of tweaks for Java 6. This allows 
MDBs to stopped and started via JMX.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jgallimore/tomee tomee-2021-backport-1.7.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tomee/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #62
    
----
commit 8dd71d448144035ab45a119b55700effa2b7ff87
Author: rmannibucau <[email protected]>
Date:   2017-03-09T19:09:50Z

    TOMEE-2021 allow to control through JMX MDB listening state

commit a46a75862878c81dbe495ca636b7eecc50d06052
Author: Jonathan Gallimore <[email protected]>
Date:   2017-03-13T11:33:39Z

    TOMEE-2021 - small fixes to compile under Java 1.6

----


> support to control a MDB listening through JMX
> ----------------------------------------------
>
>                 Key: TOMEE-2021
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2021
>             Project: TomEE
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.4
>
>
> Idea is to add in openejb-jar.xml to properties support:
> - MdbActiveOnStartup = [true|false]
> - MdbJMXControl = [true|false|objectname]
> the first one will deploy the MDB but not activate the listener yet during 
> startup,
> the second one will deploy on JMX a MBean either with a name like 
> default:J2EEServer=openejb,J2EEApplication=<empty>,EJBModule=app,StatelessSessionBean=ejb/Mdb,j2eeType=control,name=ejb/Mdb
>  or with the provided name allowing to start/stop the listening of the MDB.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to