Setting Up ASE Real-Time Messaging Services

If you require Adaptive Server Enterprise real-time messaging services, you must download and register a copy of Tibco EMS and configure the ASE server properly:

  1. Install the real-time messaging services stored procedures. You must have an sa role to complete this setup:

    isql -Usa -P<password> -S<ASE server name shown in sql.ini file> -I<ASE installation dir> \ASE-12_5\scriprs\installmsgsvss

  2. Enable and grant ASE Messaging role:

    • isql -Usa -P<password> -S<server>

    • sp_configure 'enable real time messaging', 1

    • grant role messaging_role to sa

  3. Verify ASE real-time messaging features:

    • If not yet started, start your Tibco EMS server. Find out the URL from TIBCO EMS Server console

    • select msgsend("hello","tibco_jms:tcp://<hostname>:7222?queue=q.sample")

    • select msgrecv("tibco_jms:tcp://<hostname>:7222?queue=q.sample")

  4. Register a JMS provider:

    sp_msgadmin 'register', 'provider', <provider name> 'TIBCO_JMS', <messaging provider URL shown in Tibco JMS server console>

    For example,

    sp_msgadmin 'register', 'provider', myTibcoJMS, TIBCO_JMS', 'TIBCO_JMS', 'tcp://localhost:7222'

See the Messaging Services User's Guide, Ch. 3 "Configuring Real Time Messaging Services" in the Adapter Server Enterprise collection under Sybase WorkSpace Server Administration

http://www.tibco.com/software/enterprise_backbone/

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com