Results 1 to 6 of 6

Hybrid View

  1. #1
    Hi Giuseppe,
    I would like to consult that is there any way that we could send messagea between 2 adapter sets in a same server or is there othe work around to
    achieve this?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Since the Adapter Sets are isolated from each other because they are in different classloaders, they can communicate with the same techniques two different processes could use to communicate.
    But if you want them to see each other at Java level, you can leverage the "shared" folder. There you can put classes that will be inherited by the classloaders of both Adapter Sets.
    So, for instance, the code in two Adapters belonging to different Adapter Sets can exchange messages by accessing a singleton of a class supplied in the Shared folder and use it as a bridge.
    This feature is available if the Adapters in the two Adapter Sets configure the <classloader> property (see the previous post by Giuseppe) as "common" or "dedicated".
    BTW, Giuseppe suggested the "log_enabled" setting instead. For this new purpose, you cannot leverage this option, but this just means that your Adapters will have to include their own log infrastructure (or lean on the JDK).

 

 

Similar Threads

  1. Replies: 25
    Last Post: December 19th, 2017, 09:08 AM
  2. Replies: 1
    Last Post: October 3rd, 2017, 09:14 AM
  3. Replies: 1
    Last Post: April 23rd, 2013, 09:27 AM
  4. Replies: 1
    Last Post: April 10th, 2013, 09:09 AM
  5. Multiple Metadata adapter usage
    By stephenlam in forum Client SDKs
    Replies: 5
    Last Post: April 22nd, 2010, 09:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:55 PM.