Author Archives: George Valentin Voina

#SpringBoot : How to create multiple instances of the same Spring Bean type. #Java

By | September 9, 2022

Spring Boot assumes that all the created beans are singletons. That works OK for 90% of the cases when Spring Boot is used but sometimes we need several instances of the same bean type. One example is when our bean is a kind of “interface service” that is reading or writing data to another external… Read More »

Bash one liners: Detailed information about your battery and power under Linux command line

By | August 16, 2022

The magic command is upower, a command that gives you detailed information about the power devices in your laptop/desktop. Enumerate all the power devices Check the details of a power device (battery in this case)

Learn #banking, #fintech and #payments jargon: Payment V-Mode advantages

By | July 25, 2022

As I mentioned in a previous post usually there are two channels of sending payments to a Real Time Gross Settlement System: using a VPN network that connects all the participant financial institutions to the RTGS . using a 3rd party network like SWIFT that connects all the participant financial institutions to the RTGS Bellow… Read More »

#RabbitMQ crashing at restart with “badmatch, error, not_a_dets_file”

By | May 10, 2022

RabbitMQ is a nice message queue server used in lot of networking monitoring appliances and other services. It has a very small footprint and can be integrated with lots of languages and resources. All works well until you get the famous recovery log corrupted error. Usually the issue is caused by disk full or in… Read More »

#Bash one liner: Remove all occurrences of a tag block from an XSD or XML file using #sed #xmlstarlet

By | April 1, 2022

Sometimes you get some XLS schemas that are full of additional annotations and comments you want strip. Annotations and comments are nice but annoying when trying to compare two incremental versions of some schema and try to pin point just the differences. Bellow there is a script used to remove all comments and the <xs:annotation>… Read More »

#Optimize #Jboss EAP 7.x embedded #Artemis messaging server for high volumes

By | February 23, 2022

There are several configurations that will prepare the embedded Jboss EAP 7.x Artemis messaging server for a production environment with high volumes. The following is a non exhaustive list of optimizations I discovered during several performance tests. Most of the settings is assumed that are done from jboss-cli. Disable client pre-fetch of messages: This will… Read More »

How to fix a failing disk in #Linux using #smartctl and #hdparm

By | February 14, 2022

We all hate that time when we start to have a disk failure. In one of my RAID10 one disk was at some point in the failed status. That should be an immediate concern for you. A 4 disks RAID10 setup can deal with 1 disk failure and even with 2 disk failures if they… Read More »

Learn #banking, #fintech and #payments jargon: Type of money

By | February 15, 2022

“Claim-based” => Money is moved by transferring a claim on value recorded somewhere (ledger) “Object-based” => Transaction is settled immediately if the parties deem the object to be valid. No exchange of information is necessary

How to make #JBoss 7.4+ a cluster ready service using #bash scripts and #API calls

By | May 23, 2022

JBoss applications server is a very nice and powerful Java application server from RedHat. To make it really useful in a modern architecture of a complex software product we must prepare JBoss to be very easily deployed in a cluster environment. The simplest way to do it is to write some basic Bash scripts that… Read More »