This document discusses the integration of data mining tools, specifically KNIME, into an Enterprise Service Bus (ESB) platform for predictive maintenance in Industry 4.0 contexts. It describes the implementation and testing of a prototype system using WSO2 ESB to manage data from two relational databases and apply machine learning algorithms for predictive maintenance of production lines. The findings highlight the system's capabilities for efficient data management, real-time event processing, and the flexibility of integrating various software and hardware technologies.