>> The actual message type is up to you. You can pass any Java type, >> including a class instance, enum value, etc. Your listener should simply >> subscribe() to that topic, and it will receive messages sent by your >> application via sendMessage(). >> > > Hi Greg > > THanks for your patience, but I think we're still at cross purposes. Given > that I'm currently using 1.5, what do I pass from Pivot to my headless app > to allow it to call x.sendMessage() - what is "x"?
Did you see my follow-up comment? >> Note however that these methods only work within a single JVM instance. If >> you need to pass messages to another process, you'll need to use some kind >> of IPC mechanism. It sounds like you are trying to use sendMessage() to pass messages between two separate applications (a headless app and a Pivot UI). Is that correct? If so, you won't be able to use sendMessage() for this.
