Hi All,

I am sure this problem has come up before, but I
can't find any examples or any help.

I have an interface:

public interface MyEvent
{
   public void process () throws Exception ;
}

with several implementations in the form of:

public class CreateMyEvent implements MyEvent
{
   public void process () throws Exception
     {
     // do something
     }
}
public class DeleteMyEvent implements MyEvent
{
   public void process () throws Exception
     {
     // do something
     }
}

I am placing them in a JMS queue and would like them to be
remapped back to objects when they come out, so that I can
do something like:

   while  (mess = read from queue)
   {
     mess.process();
   }

I have created a mapping binding for each MyEvent implementation
but have found that I can only use one de-serialiser at the
other end.

Please can someone help me with what the "right" way of achieving this
is.


Regards,
David


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to