You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The net.dante.otrs.OTRSConsumer JAVA class does not require any parameters.

In a nutshell, the OTRSPruducer, queries the OTRS system for all maintenance tickets that were updated in the last 60 minutes. It retrieves those tickets and creates XML messages within the Enterprise Service Bus in the OTRS queue. Once it has completed it's processing, a Consumer, OTRSConsumer, processes the message within the OTRS queue

The class uses the standard AuditLog class to write log message to /tmp/otrs/OTRSConsumer-YYYYMMDD.log. The location and name of the log file is configurable from within the otrs.properties file

Enterprise Service Bus (ESB)

The net.dante.otrs.OTRSConsumer JAVA class connects to the test-esb01.geant.net ActiveMQ Message Broker, using credentials stored in the otrs.properties file.

*** It is possible to review the contents of the ESB queue called OTRS using the following URL: http://test-esb01.geant.net:8161/admin/browse.jsp?JMSDestination=OTRS 

The XML returned from the OTRS Web Service TicketGet operation from the OTRSProducer class is sent as a plain text message to the ESB and stored in the OTRS queue.

  • No labels