Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending Custom Response back to the client  RSS feed

Kishor Pawar
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am working on Jboss SOA Platform 5.1. I have 5 ESB services running on my Jboss, of which one is used for handling the Execptions(FaultHandlerService) in the ESB.

I have one CXF service which acts as controller for all the 4 ESB services. CXF service does content based routing based on the input request.
I have used ServiceInvoker to call the ESB services.

ServiceInvoker si = new ServiceInvoker(esbServiceCategory,esbServiceName);
Message respEsbMessage = si.deliverSync(esbMessage, 10000L);

If any exception occurs in any of the ESB services, then that exception is given to the FaultHandlerService. This happen because i have set FaultTo inside the CXF service.

LogicalEPR defaultFaultToEpr = new LogicalEPR("Fault-Handler-Service-Category","FaultHandlerService");

When the exception comes to the FaultHandler Servcie, how can i send it back to the CXF service? This is the jboss-esb.xml for the FaulthandlerService.
please let me know if any information is required.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!