JBoss CLI add undertow http handler

Somehow it was hard to find this on the internet.

Example of adding a custom http handler to undertow in EAP 7 through CLI.

/subsystem=undertow/configuration=filter/custom-filter=my-useful-name-for-filter:add(class-name=…,module=…)

/subsystem=undertow/server=default-server/host=default-host/filter-ref=my-useful-name-for-filter

In the elevator

Person to other person:

I live 10 minutes from work with the bike. That’s nice, no traffic. But today, like many other days, I came with the car.

Just wanted to share silly thing I heard.

Heard on the job

manager: can you do this in Java?

Team: Can you tell us some more about it?

manager: Yes but estimations and such will not work since it is fixed price and fixed scope. So it can not be done with scrum.

Team: Well you know …. manager, you

Image from http://inspirobot.me/