How to trigger action with Scheduler and Quartz in Camel

In any project using Camel you might come to the stage you want to trigger action periodically.

We have recently looked on how to download file from Azure Cloud Storage in legacy application. With the help of Camel and in Java project, all was written in a couple of minutes. But what if you have a special case and your file is changing periodically. For example, every day or every minute?

This article will show you a couple of code examples on how to initiate an action when periodic change is required. This article will also show you how to start the action with Camel’s Scheduler and Camel’s Quartz2 components, mostly for your legacy Camel projects.

Continue reading

Posted in Tutorials | Tagged , , , , , , , , | Leave a comment

How to download a file from Azure Claud Storage

At some point, you need to deal with and develop legacy code for legacy software. As you Google stuff on the internet and waiting for being by StackOverflow, you go through ancient documentation. It was also my case.

Continue reading

Posted in Tutorials | Tagged , , , , , , , , , , , , , | 1 Comment

How to use IntelliJ Idea as a text editor

I have recently started to use IntelliJ Idea as my text editor and integrated it into my creative process.

Continue reading

Posted in Tips & tricks | Tagged , , , , , , , | Leave a comment

Bit manipulation operators in Java

As in many programming languages, Java offers a possibility for bit manipulation with bit operators. While the official documentation is kind of sparse, this article will give you more information about individual operators.

Continue reading

Posted in Language basics | Tagged , , | 1 Comment

How to show first n characters in JavaScript or TypeScript string

To get a substring from a string in JavaScript or TypeScript, you have as option three different methods to call. Besides TypeScript compiling to JavaScript, method’s names a behaviour stay the same.

Continue reading

Posted in Language basics | Tagged , , , | Leave a comment

How to use IntStream range in Java

Very often, I encounter a situation in which I need to loop through a collection in Java. While looping through it sequentially, I usually want to use a temporal loop count variable as a variable with which I will be working inside the loop.

Continue reading

Posted in Language basics | Tagged , , , , | Leave a comment

How to build with Maven without running tests

Do you try to build your app after the slightest change in code, and it takes ages to pass all the tests? What if there would be a workaround to obey all unnecessary tests and shorten the Maven build time significantly. And all that just but simple maven flag.

Continue reading

Posted in Tips & tricks | Tagged , , , , , , , , , , | 1 Comment

Compare all elements in an array against each other in Java

One of the most common requests when processing array is to compare each element in an array against every other element in the array. You can imagine it as you want to take the 1st array element and compare it with every other element, then take the 2nd array element and compare it with every other element and so on and on.
Continue reading

Posted in Solutions | Tagged , | Leave a comment

How to set a hotswap on your Java project in IntelliJ Idea

Let’s take a look at how to speed up the development of our Spring Boot app by installing Trava Open JDK and use of hotswapping.
Continue reading

Posted in JetBrains suite | Tagged , , , , , | Leave a comment

How to create a custom range calendar filter for Angular PrimeNg data turbo table

Let’s look at how to implement the Angular selection range for the newest Angular PrimeNg version. This tutorial was developed on v10.0.0-rc-1 version.

Continue reading

Posted in Angular | Tagged , , , , , , | 1 Comment