You can also alter the type of the currently active Transaction from within your application code:
ElasticApm.currentTransaction().setType("MDB");
The @Traced annotation is actually not required in your case, unless you want the method call to processMdbMessage to appear as a span within your traces.