The net.dante.otrs.OTRSProducer JAVA class take one integer parameter which is the number of minutes to subtract from the current time, in order to determine the date and time range of the tickets requiredtakes from one to three parameters, depending on the functionality required. Examples are as follows:
net.dante.otrs.OTRSProducer 60 - the number of minutes to subtract from the current time, in order to determine the date and time range of the tickets required.
net.dante.otrs.OTRSProducer 60 Yes - the number of minutes to subtract from the current time, in order to determine the date and time range of the tickets required. The second parameter can be either Yes or No and indicates whether you wish to select only Emergency, Planned and Internal maintenance tickets
net.dante.otrs.OTRSProducer "2017-09-01 00:00:00" "2017-09-30 23:59:59" Yes - The first two parameters determines the date and time range of the search. The third parameter can be either Yes or No and indicates whether you wish to select only Emergency, Planned and Internal maintenance tickets
*** Please notice the quotation marks around the date and time because of the space between the date and the time part.
In a nutshell, the OTRSPruducerOTRSProducer, 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
...
</soap:Body>
</soap:Envelope>
Enterprise Service Bus (ESB)
The net.dante.otrs.OTRSProducer JAVA class connects to the test-esb01.geant.net ActiveMQ Message Broker, using credentials stored in the otrs.properties file.
...
The XML returned from the OTRS Web Service TicketGet operation is sent as a plain text message to the ESB and stored in the OTRS queue.