How to connect MDB with activation specifications

102 views Asked by At

I want to create one message queue consuming code using activation specifications and deploy into the websphere server.

I saw some code available with jboss.but,i want in IBM websphere server.

Previously,i done consuming with listener port and using ejb-jar.xml and ibm-ejb-jar-bnd.xmi.

Now,i didn't no how to use activation specifications with XML and xmi files.is that right or not.Can anyone please,share the activation specifications code with bindings file and I want to deploy in websphere. Thanks in advance

I need activation specifications with suitable binding or any sample project

1

There are 1 answers

2
Scott Kurz On

Deployment

I think the harder part of this is configuring the activation spec that you need to "bind" to during deployment.

For that I'd link you to the WebSphere Knowledge Center:

Development / Java coding

The Java implementation itself is fairly straightforward. You might look at this example (though it's embedded in a Liberty sample repository).

Learn More

The high-level MDB topic in the Knowledge Center is also a good starting point.