Decision making and data management are critical features for enterprises to improve their productivity and revenues. With the advancement of Industry 4.0, smart factories, the Internet of Things (IoT) and Cyber-Physical Systems (CPPS) currently are using as the controller during the manufacturing products process. This new approach results in new insights that can enhance decision-making processes and provide a competitive business advantage. This study deals with the implementation of CPPS using low-cost devices in a simulated factory to control the industrial process and integrate shop-floor communications using the AMQP (Advanced Message Queuing Protocol) protocol. In an era in which most CPPS-related studies are conducted on high-level abstract models, this study describes more specific architectural frameworks in a real process.