Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Integration platform generates application logs and writes records to database.

Application logs

...

There is Maven property log.folder that specifies target folder for application logs.

...

Logback offers lot of possibilities where and how log items save to - to file system, to database, send it by emails etc.  

Tip

OpenHub provides simple tool for application log searching (see Admin GUI). This tool must be correctly configured (log.folder.path - path to application logs, log.file.pattern - format of log file names) and then allows to go through all application logs and find searched information.

 


When we use standard installation with Apache Tomcat server then we have all logs in /srv/project_name/logs/ folder with the the following sub-folders:

...

Also database records should be backuped. Remove old records to keep good performance - we remove records older then 2 months usually on our production installations. 

Tip

There is functionality for archiving database tables.

Stop ESB

OpenHub allows to switch to stopping mode where no new requests asynchronous and/or synchronous requests will be processed, only current asynchronous messages will be finished (messages in states IN_QUEUE, PROCESSING and WAITING_FOR_RES).

You will find more information in admin GUI documentation.


 Synchronous requests which should reject incoming calls are recognized by input URI. This URI is identified by regular expression defined in the property ohf.uri.inputPatter.

If OpenHub rejects incoming request then exception org.openhubframework.openhub.api.exception.StoppingException is thrown.

Info

Technical implementation:

When route starts with specified input URI then HandleMessagePolicy is created. When node is stopped then this policy throws an exception.

For getting information about route type (input, output etc.) use RoudeDefinitionService. Default implementation of this service searchs route type in all implementations RouteTypeResolver.


This functionality is available in admin GUI.