Skip to content

cbmarc/InterceptorExampleCDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

InterceptorExampleCDI

Example using interceptors with CDI This is just a very simple example showing how to intercept a method in JavaEE and, in this case, interrupt the method if needed.

Although it's quite stupid I hope it helps somebody. I created this example as a Prove of Concept for one of my projects in which in test scope I had to steal a message from a flow and prevent it from continuing its normal path.

To test it just run mvn package and see test passes or run the unit test (CdiTest) in the project.

About

Example using interceptors with CDI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages