Interfaces over JMS?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Interfaces over JMS?

Matthew
Is it possible to send interfaces in an ObjectMessage?  It appears not as the router complains that the underlying class is not available...
Reply | Threaded
Open this post in threaded view
|

Re: Interfaces over JMS?

IIT Software
Administrator
You can send any object that implements java.io.Serializable. The class must be in your classpath at the sender and receiver end. The router itself doesn't need it because the message content is a byte stream.
Reply | Threaded
Open this post in threaded view
|

Re: Interfaces over JMS?

Matthew
When I sat and thought about it, it does make sense.. you have to have something to pop the data into so an interface on its own is no good.. shame really.