I'm running with java 8 & open wire.
https://github.com/peter-mount/opendata
Look under applications for both nr & push port clients & brokers for the open wire & rabbit code.
Peter
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To post to this group, send email to openrail...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Mike
Does this implement the best practice advice as shown on the wiki? I can't tell if it plays nice on connection failures or if it can't subscribe to the topic.
Peter
Here is code snippet for durable subscription to NR feed, but..
..I can't see how to create durable when for a Queue. There's an ActiveMQConnection.createDurableConnectionConsumer method but this also takes a Topic as an argument. Has anyone else a code example to create a durable subscription for the Darwin push port?
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To post to this group, send an email to openrail...@googlegroups.com.
System.out.println("msg: " + convertToXMLString((BytesMessage) msg));
Eclipse wants me to create a new method for convertToXMLString function which i'm assuming should actually be coming from one of the imported libraries?
Can you remember where this comes from?
Thansk,
George
>> System.out.println("msg: " + convertToXMLString((BytesMessage) msg));
>>Can you remember where this comes from?
Thansk,
George
Hi George,
Yes, I do just that.
There's a few fields involved but in simplistic terms:
Delay Arrival = (forecast eta | ata ) - schedule pta
Where eta or ata could be set. Just be aware not everywhere reports an ata/atd & some well have one not the other - Otford coast bound is a good one, you'll see an ata but no atd.
For example the train I'm currently on right now: http://uktra.in/rtt/train/201604110876696
--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To post to this group, send email to openrail...@googlegroups.com.
Yes they do.
From memory (no room to get the laptop out to check) canceled reason is in the schedule whilst the delay code is in the forecast - I think.