Topic Thread

Expand all | Collapse all

Code to implement custom Queue in v11+ OSGi framework

  • 1.  Code to implement custom Queue in v11+ OSGi framework

    Posted Thu August 01, 2019 05:48 AM
      |   view attached
    Code to implement custom Queue in v11+ OSGi framework

    after adding the necessary rows in the MDM notification tables : JMSCHANNEL, NOTIFCHANNEL and NOTIFICATIONTYPE, you then have to jump through some hoops in OSGi land to actually send out a message to a custom queue or topic.

    you have to :

    implement a custom notification that extends com.dwl.base.notification.CommonNotification
    implement a custom JMSChannel that extends com.dwl.base.notification.JMSChannel and override the getDestination() and getConnectionFactory() methods.

    then you have to create blueprints for the custom notification and custom JMSChannel.. then export the service name and packages etc..

    all the necessary code, blueprints and manifests attached in the X_Working.zip projects. 

    ignore the TimerEJB stuff. .that was for a different piece of work...

    ------------------------------
    IAN DALLAS
    ------------------------------

    Attachment(s)

    zip
    X_Working.zip   57K 1 version


  • 2.  RE: Code to implement custom Queue in v11+ OSGi framework

    Posted Thu August 01, 2019 07:28 AM
      |   view attached
    correct zip now attached

    ------------------------------
    IAN DALLAS
    ------------------------------

    Attachment(s)

    zip
    X_Working.zip   60K 1 version