On 22/09/13 15:58, Steve Ardagh-Walter wrote:
> I've been trying the following - but (maybe because serialization
> doesn't work with this type of resource ?) am not getting any joy.
> Can anyone advise on what's wrong and how to fix it please ?
I am no PHP expert (well, not any more) - but I don't think you can dump
a serialized object out in to a file and read it back again.
Have you tried using just one script that does
$consumer->subscribe("/topic/TD_WTV_SIG_AREA") and
$consumer->subscribe("/topic/TRAIN_MVT_EF_TOC"), then prints out the
full messages that are received?
Certainly on an early version of the Ruby subscriber I built for
OpenTrainTimes, the topic name comes through in the header of each
message, making it simple to process.
Peter