java - JBossESB - queue to service mapping -
i intercepting messages sent through jbossesb. using pipeline interceptors so.
the problem is, altough sender service (for example portreference < logical:blueserviceesb#bluelistener >), name of receiver queue (not service). logical because in case, multiple services can receive messages given queue, usually, each queue mapped 1 service.
i know queue mapped service, can display/save information , have displayed message: service ---> service (not service ---> queue).
i know can name of queue mapped service using registry this:
system.setproperty("javax.xml.registry.connectionfactoryclass", "org.apache.ws.scout.registry.connectionfactoryimpl"); // retrieving information esb registry registry reg = registryfactory.getregistry(); system.out.println(reg.findallservices()); list<epr> eprs = reg.findeprs("firstserviceesb", "simplelistener"); system.out.println(eprs);
i reverse approach - queue input , service (epr = end point reference = service) output. there way how or trying impossible here. have found no tutorials or questions on topic whatsoever.
thanks tips!
as question has 25 up-votes, seems useful feature. jbossesb open source software. thus, implement feature , commit community! or create change request hopping else it...
Comments
Post a Comment