Chandra Shekhar Pandey

Chandra Shekhar Pandey's contributions

Red Hat Enterprise Linux
Article

Using the STOMP Protocol with Apache ActiveMQ Artemis Broker

Chandra Shekhar Pandey

This article shows how to use Python-based messaging clients and STOMP to connect and subscribe to a durable topic in the Apache ActiveMQ Artemis or the Red Hat AMQ 7 broker. STOMP clients can communicate with any STOMP message broker, providing messaging interoperability among many languages, platforms, and brokers.

Apache Camel logo
Article

Setting Up a Failover Scenario Using Apache Camel ZooKeeper

Chandra Shekhar Pandey

In this article, we will discuss using the Apache Camel-ZooKeeper component, and how we can set up a fail-over scenario for Apache Camel routes. While working in a clustered environment, situations arise where a user wants to have a backup route which will become active only when the master route stops working.

Running Microsoft SQL Server pod on OpenShift
Article

Deploying a Spring Boot App with MySQL on OpenShift

Chandra Shekhar Pandey

This article covers how to deploy a spring boot app which interacts with mysql in an OpenShift Environment. We might have a requirement where we have to migrate our Spring Boot standalone project to OpenShift environment or we might have to create Docker images.

Article Thumbnail
Article

Enabling Byteman Script with Red Hat JBoss Fuse and AMQ - Part 2

Chandra Shekhar Pandey

When using Byteman scripts for tracing and debugging with Red Hat JBoss Fuse and AMQ, learn how to use Java helper classes with for advanced options, such as viewing or modifying arguments, and utilizing 'java.util.logging' to inject messages into the existing logs.

Article Thumbnail
Article

Enabling Byteman Script with Red Hat JBoss Fuse and AMQ - Part1

Chandra Shekhar Pandey

In a production or customer environment it is not always possible to identify issues by looking at logs or setting up a remote debugging using IDE. Often the issues are specific to the environment and can't be reproduced. having byteman scripts can help in identifying issues without actual code changes.

Apache Camel logo
Article

Using Camel-Undertow component supporting http2 connection

Chandra Shekhar Pandey

This article would help to configure http2 protocol support for the camel-undertow component. Camel's undertow component use embedded undertow web-container of version undertow-core:jar:1.4.21 . This version also supports the http2 connection. I have used camel version 2.21.0-SNAPSHOT from upstream https://github.com/apache/camel . Also, the curl version to test application using camel-undertow component is 7.53.1. This curl version supports --http 2 flag for sending an http2 request. I have also used nghttp to test application from linux terminal. However, this article is...

Configuring mKahaDB persistence storage for ActiveMQ
Article

Configuring mKahaDB persistence storage for ActiveMQ

Chandra Shekhar Pandey

In this post, I wanted to address how to configure mKahaDB persistence storage on ActiveMQ for better management and reducing disk usage. Default configured KahaDB persistence adapter works well when all the destinations (queues/topics) being managed by the broker have similar performance. However, an enterprise solution where several third parties are involved is never the case. There are multiple queues or topics and different consumers or listeners listening to these queues/topics. Some consumers might be slower than other consumers. This...

Dynamic Storage
Article

How to configure persistent storage with OpenShift or Kubernetes for development environment

Chandra Shekhar Pandey

We know that containers in Openshift or Kubernetes don't persist data. Every time we start an application, it is started in a new container with an immutable Docker image. Hence, any persisted data in the file systems is lost when the container stops. Hence if an application or container is rebuilt or restarted than we can't view previous logs or if we are using containers with mysql or any other database then schema, tables, and all data will be lost...