I'd like to be able to specify different JB Cache instance per application when running the server in a cluster. Possibly we can specify it in the replication settings in jboss-web.xml or the servlet context or some other application-wide place.
The reason being that I want a very specify topology in which buddy-pools concentrate session data related to one war app into subset of machines in the cluster, but are still able to "recruit" members from other pools (that belong to other apps). And since JBCache only supports one buddypool id per instance (all apps in the machine), this feature would allow such grouping just as easily.
Further, putting cache hints per HTTP session could also be useful.
There is a related thread here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154956