Integrated IBM Tivoli Directory Integrator (all versions of TDI) with Webmethods JMS by extending the out-of-the-box TDI JMS Connector.
All the IBM TDI InfoCenter documentation refers to the integration of the out-of-the-box TDI JMS Connector with WebSphere MQ JMS. In the TDI examples directory (as part of the TDI install), IBM have shown how one can integrate TDI with any external JMS software by demonstrating it with SonicMQ. However, applying the SonicMQ example to Webmethods JMS does not work.
I found that the problem was due to the fact that the out-of-the-box TDI JMS Connector in it's java code uses TopicPublisher and TopicSubscriber JDK API JMS objects. For some reason most likely attributable to Webmethods JMS, these objects don't work when publishing/subscribing to Topics configured on the Webmethods JMS. I found that the solution is to extend the out-of-the-box TDI JMS Connector and replace these objects with their JDK API JMS object equivalents i.e. MessageProducer and MessageConsumer (stated as such by the JDK JMS API), which do work with Webmethods JMS configured Topics.