Results 1 to 2 of 2

Thread: Accessing messageBroker from parent context

  1. #1
    Join Date
    Apr 2010
    Posts
    11

    Default Accessing messageBroker from parent context

    Hi, I am using spring batch to do some processing and what I'd like to do is send a message back to the client to re-query some dataProviders. The batch is happening from the root context and my blazeds/messagetemplate is in a child context. Since parent contexts do not directly know about child contexts, is it possible to use spring integration for this or is there another way to access the blazeds messagebroker. I'm open to other suggestions and I also do not really wish to merge all of my contexts to one.

    Thank you in advance!

  2. #2
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    Yes, Spring Integration is exactly the way to go. You can define a channel in the parent context, and then wire it up to flex in the web context.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •