Activate & Deactivate PoE Camera via Cisco Router

In this post, we’ll explore how to activate or deactivate a surveillance camera via a Cisco router using Power over Ethernet (PoE) functionality. I’ve implemented a DIY surveillance installation at home using a PoE camera connected to a Cisco Small Business router. Specifically, I’m using the Cisco Smart Switch SG250-10P, which offers robust PoE capabilities that allow you to control power delivery to connected devices. This approach is particularly useful for security purposes, as it allows you to remotely control when your surveillance camera is active without physically accessing the device. ...

April 6, 2025

How to manage Exception inside a jBPM WorkItemHandler custom component

When we develop a BPMN process we have to handle correctly Error. An Error can be raised by any component during the processus instance and specially into a Work Item Handler node. This kind of node in jBPM is a Java component implementing the WorkItemHandler interface. Usually in Java program we manage error via Exception mechanism. How to manage Exception inside jBPM WorkItemHandler custom component. To illustrate how to use Exception/Error I propose to create a sample error process. This example will demonstrate how jBPM can transform Java exceptions into BPMN errors, allowing for proper error handling within your business processes. ...

October 28, 2020

Camel XML XPath XSLT Aggregator

This month I went to Greece for a customer of mine. I worked at Athens on Camel integration with Mainframe legacy systems. The customer wanted to use XML message format throughout the entire Camel route process. Their primary goal was to reuse some Camel routes as new service components, allowing for greater flexibility and modularity in their integration architecture. Fortunately, the Camel framework meets all of these requirements out of the box. In this article, we’ll explore a simple example demonstrating how to implement this approach effectively. ...

December 3, 2016

Setup a Hotspot Wifi with Ansible into a RaspberryPi 3

This September, RaspberryPi foundation has sold ten (10) Millions of unit. This small computer is amazing, you can setup very quickly several cool IoT projects. Since 2012, I bought all versions (B 256Mo, B 512Mo, B+, 2B, 3B) of RaspberryPi. I am a big fan of this product and you can find into this blog some projects I’ve made on top of this little computer. RaspberryPi version 3 comes with a wifi builtin interface, and this wifi interface can be configured as a Wifi Hotspot. I use it every day at home or at office. Today, I will show you how to configure a Wifi Hotspot with Ansible, which is a powerful automation tool that simplifies configuration management. ...

September 27, 2016

JBoss EAP 7 connected to WebsphereMQ running on Docker

Last year for a previous customer I wrote an article/post about WebsphereMQ Best Practice with JBoss EAP 6. Today we will make almost the same setup but with JBoss EAP 7, WebsphereMQ Sample IVT application, and both running on Docker. This tutorial demonstrates how to configure and connect these enterprise technologies in a containerized environment. I assume you have basic knowledge of Docker commands and concepts. Howto run JBoss EAP 7 connected to WebsphereMQ both running on Docker ...

August 3, 2016

JConsole & Java Mission Control with JBoss EAP 7

During Red Hat summit, Red Hat releases the new version of its JBoss Application Server. JBoss App Server provides a new JMX Remote Management protocol to connect with. A common JMX tool is JConsole and we will see how to use it with remote mode. We also configure an other tool called Java Mission Control for a cooler JMX monitoring solution. These tools provide powerful capabilities for monitoring and troubleshooting Java applications in production environments. ...

July 19, 2016

Camel is going into Eclipse Kura

Today, I am going to talk about some exciting news in the IoT development world. This is a technical post, but without any code samples or hardware setup instructions. The Eclipse Kura Project has accepted a GitHub Pull Request that introduces a powerful new component to the develop branch. This new component is the Camel Framework from the Apache Foundation. Henryk Konsek, a talented colleague of mine, is the principal developer behind this integration. The relationship between Camel and Kura actually began earlier with the first Camel Kura component, which has been available since Camel version 2.15, also developed by Henryk. ...

March 18, 2016

Device IO and i2cdetect implementation

Today, we’re going to implement a quick tool available on the RaspberryPi using Java Device IO API. The i2cdetect utility is a simple I²C device scanner for your RaspberryPi that browses all I²C addresses to find which I²C devices are connected to your board. This tutorial demonstrates how to recompile the Device IO API and implement the i2cdetect functionality in Java, providing a platform-independent way to interact with I²C devices. i2cdetect with the Java Device I/O API implementation - a powerful tool for hardware detection and diagnostics on embedded systems. ...

March 9, 2016

Rhiot Kura Device IO GPIO and I2C

Recently, a colleague of mine asked me to implement a small demonstration project. I decided to develop a new component for the Rhiot project. This component is the DeviceIO I2C Camel component, which builds upon my previous work on Camel-pi4j that I had already developed for the Rhiot project. In this article, we’ll explore how to use this component within the Kura Platform via the Camel Framework. For this demonstration, we’ll need some hardware devices, specifically a RaspberryPi and an ActiveMQ broker. ...

February 29, 2016

Rhiot over Kura over Docker over RaspberryPi ;-)

During this Christmas day, Santa Claus brings us lot of presents (I hope for you too), I received 2 RaspberryPi Zero — thanks brother! I will show you something interesting after this special day. We gonna test how to use Rhiot project into Kura Eclipse Platform running inside Docker container deployed into a real RaspberryPi Zero device (in this order). If you don’t have yet a RaspberryPi (B+, 2 or zero) device you can use my previous post. ...

December 28, 2015

Kura over Docker

Rhiot project has recently decided to primarily support the Kura Eclipse Platform. Our project provides code and extensions for Kura, such as Camel integration and many other features. We’ve developed new Camel components specifically dedicated to the Kura Platform (gpio, cloud, wifi). We chose this platform because it’s an OSGi compliant software focused on the IoT universe, supported by the Eclipse Foundation and Eurotech. While Kura runs natively on RaspberryPi hardware, if you don’t have a RaspberryPi device yet, this tutorial will show you how to run Kura within a Docker container. ...

December 23, 2015

Rhiot Kura Gateway Sample (Emulator & RaspberryPi)

For a while, I have been developing during my free time for the Rhiot project with my Red Hat colleague Henryk. We started by developing several Camel components such as kura, pi4j, and bluetooth with other volunteers. Now we are focusing on developing and integrating these components for the Kura Platform. Kura is an OSGi Platform designed specifically for IoT, capable of running on RaspberryPi, BeagleBone, or Intel Edison devices. The Kura Platform comes with many embedded services tailored for IoT contexts, including GPIO, USB, I2C, Cloud Service, and more. In this post, we will explore: ...

December 3, 2015

RHIoT RaspberryPi Sense-Hat display

Recently, I bought the new official Sense-HAT from RaspberryPi foundation. This HAT (Hardware Attached on Top) add-on for the RaspberryPi device includes lots of cool features and sensors. The Sense-HAT comes with an 8x8 RGB565 pixel display, a Joystick, a Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity sensors. All sensors are i2c compliant, making them easily accessible with the rhiot camel-pi4j component. This makes it very straightforward to retrieve data from all sensors and transmit them to external systems. The Rhiot team has also developed the first implementation of the rhiot camel-framebuffer component, which now enables pushing images directly to the 8x8 pixel screen. Note that the matrix consists of 8x8 RGB565 LEDs (2 bytes per pixel), providing a colorful display despite its small size. ...

November 24, 2015

RHIoT Webcam and websocket components on MacbookPro in Groovy

Yesterday, we’ve played with our MacBook Pro’s webcam. Today, we gonna see how to send images through a websocket directly in this page !!! or via a JavaFx program. We gonna re-use the previous post and integrate camel Websocket component. Let’s play with Groovy language to create a real-time webcam streaming solution. Webcam image to Websocket w/ Rhiot & Camel projects on MacbookPro Let’s start to broadcast yourself. This tutorial will guide you through setting up a webcam stream that can be viewed through a web browser or a JavaFX application. ...

October 23, 2015

RHIoT 0.1.2 Webcam component on MacOS X in Groovy

My tech leader on RHIoT project (ex-camellabs) Henryk had just release the last version of RHIoT project : 0.1.2. Lot of new stuffs are included in this new release, more details available here. I found in list a cool stuff to test. We gonna check if our new committer @levackt from ZA worked well. Webcam camel component on Mac OSX with Groovy language Let’s start to broadcast yourself. Requisites Have a mac tested MacBook Pro Retina, 13-inch, Mid 2014 Groovy Mac port installed Groovy Version: 2.4.4 JVM: 1.8.0_45 Vendor: Oracle Corporation OS: Mac OS X Program We gonna use Groovy language for this simple example. Groovy provides a concise and expressive syntax that makes it perfect for quickly testing new components like this webcam integration. ...

October 22, 2015

SSH to MacOS X (El Capitan) through iCloud tunnel

Avertissement ...

October 3, 2015

UNESCO Challenge, point UNESCO, Le Havre

Le Havre (Seine-Maritime, France) is a UNESCO World Heritage Site, visited during a work assignment in the city. Le Havre, the City Rebuilt by Auguste Perret Almost completely destroyed during World War II, Le Havre was rebuilt according to the urban plan of Auguste Perret, a renowned architect and concrete specialist. The reconstruction (1945–1964) represents one of the most remarkable post-war projects of the 20th century, showcasing innovative use of concrete and modern urban planning. ...

August 4, 2015

Wildfly 9.0 w/ Docker, Offline CLI and HTTP/2

Following the release of Wildfly 9.0.0.Final and the previous post on enabling HTTP/2 via offline CLI, this article covers the same setup inside a Docker container. Docker simplifies middleware infrastructure deployment: open source, rich CLI tooling, automated build process, and straightforward runtime management. How to set up HTTP/2 in Wildfly 9.0.0.Final with offline mode via Docker. Prerequisites Docker must be installed and running. See the official documentation for installation. X509 Certificate HTTP/2 does not strictly require encryption, but most browsers only implement it over TLS. Create certificates as described in the previous post. ...

July 9, 2015

Wildfly 9.0 Offline CLI and HTTP/2

The Wildfly community has released Wildfly 9.0.0.Final. As mentioned in a previous post about Wildfly, this version brings several notable features. Two of them combine well: offline CLI and HTTP/2 support. In a datacenter context, the initial configuration should ideally happen without starting the full process or opening unnecessary ports. This post shows how to set up HTTP/2 using offline mode — useful for starting a JBoss instance with HTTP/2 already enabled. ...

July 3, 2015

Camel IoT Labs i2c gpio mqtt lcd

One month ago, Henryk, Claus and the author started the Camel Labs project. This project provides new components for the IoT community based on Apache Camel. These components connect electronic devices (I2C, SPI, GPIO, Tinkerforge) and cloud services (PubNub, Cloudlet, MQTT) together. This lab demonstrates how to build an end-to-end IoT integration with I2C devices, an MQTT broker, and an I2C LCD display using just a few lines of code. ...

May 20, 2015

Apache Camel RaspberryPi PoC

Integrating Apache Camel with Raspberry Pi for IoT The Internet of Things (IoT) is reshaping how software interacts with the physical world. At the core of many IoT projects sit two building blocks: affordable hardware and flexible integration software. This article explores how to combine the Raspberry Pi with Apache Camel, an enterprise integration framework, to build IoT solutions bridging the physical and digital worlds. Introduction to the Technologies The Raspberry Pi is a credit card-sized computer that costs $35. With over five million units sold, it has become a reference platform among hobbyists, educators, and professional developers. While the Raspberry Pi Foundation’s primary goal was to provide an affordable computer for education, many electronics enthusiasts have adopted it for home automation, environmental monitoring, and other IoT applications. ...

April 3, 2015

Best Practices Websphere MQ/JBoss EAP 6 English Version

Integrating WebSphere MQ with JBoss EAP 6: Best Practices Enterprise application integration remains one of the most challenging aspects of modern IT architectures. This article details how to connect JBoss EAP 6 with IBM WebSphere MQ using Java EE standards and industry best practices. Introduction to JCA and Enterprise Integration JBoss EAP is Java EE 6 certified. Among the implemented specifications, the Java EE Connector Architecture (JCA) standard relies on the IronJacamar framework. ...

March 26, 2015

Premier post

Français Bienvenue sur ce blog. On y trouvera des articles techniques et des retours d’expérience sur divers sujets informatiques. L’objectif : partager des informations concrètes et utiles. Bonne lecture. English Welcome to this blog. It will feature technical articles and thoughts on various IT topics. The goal: sharing concrete feedback and useful information. Happy reading! 日本語 このブログへようこそ。技術的な記事やIT関連のさまざまな考察を掲載していきます。具体的なフィードバックや有益な情報を共有することが目的です。

March 10, 2015