Skip to content

Instantly share code, notes, and snippets.


Jan Šmucr jsmucr

  • Aimtec a.s.
  • Česká republika
View GitHub Profile
jsmucr /
Created Jun 29, 2022
Groovy @CompileStatic is slow and leaks resources
import groovy.lang.GroovyClassLoader;
class LeakDynamic {
public static interface TestClass {
String getThingy();
static String getTheThingy() {
return "the thingy";
jsmucr /
Last active Jun 11, 2021
How to create switch in xpath
jsmucr /
Last active Mar 2, 2018
Apache Artemis thoughts


This file is meant to collect all my findings about the Apache ActiveMQ Artemis message queueing system. Although the framework documentation seems to be huge, it does not cover many situations anyone can get into while trying to adopt the technology.

I like to use Groovy along with the Core API.

Static discovery connection URL for multiple servers

Just separate the URLs with a hashmark: