WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

wsadmin Script - Binding multiple MDBs/ActivSpecs to an app

  • 1.  wsadmin Script - Binding multiple MDBs/ActivSpecs to an app

    Posted Wed August 11, 2010 10:39 AM
    wsadmin Script - Binding multiple MDBs/ActivSpecs to an app

    --------------------------------

    Hi,
    I have a script to deploy an EJB app that has a message-driven bean (MDB) bound to an activation specification (AS) JNDI and a destination JNDI.

    Now, there's a need to write up similar script for an app that has multiple MDBs, each bound to an AS and destination.
    Could someone pls help here as to how I could bind those in a script?

    Single MDB/AS/Dest bind I have used in script:
    ejbMsgBindParam = [jarName, mdbName, ejbURI, activSpecJNDI, queueJNDI]
    which goes to:
    /"-BindJndiForEJBMessageBinding/", [ejbMsgBindParam]
    under
    AdminApp.install

    Much appreciated,
    Ram

    --------------------------------

    Posted By: heyamigo at Feb 26 2010 12:56AM