Changeset 4126
- Timestamp:
- 10/11/07 02:52:26 (1 year ago)
- Files:
-
- trunk/nuxleus/Scripts/qs.sh (modified) (1 diff)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/Filters (added)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/Filters/Expiry.cs (added)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/ISubscriber.cs (added)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/InternalReceiverHandler.cs (modified) (1 diff)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/PublisherHandler.cs (modified) (2 diffs)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/SubscriberHandler.cs (added)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/Subscribers (added)
- trunk/nuxleus/src/Nuxleus.Messaging/LLUP/Subscribers/AtomFeed.cs (added)
- trunk/nuxleus/src/Nuxleus.Service/LLUP/SubscriberService.cs (added)
- trunk/nuxleus/src/ServiceApps/LLUP/Subscriber.cs (added)
- trunk/nuxleus/src/nux.build (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/nuxleus/Scripts/qs.sh
r3980 r4126 48 48 49 49 echo "Starting the queue server on port $PORT against memcached servers at $MEMCACHED_SERVERS" 50 queue-server.py - v -s $MEMCACHED_SERVERS -p $PORT -i $PID_FILE &50 queue-server.py -s $MEMCACHED_SERVERS -p $PORT -i $PID_FILE & 51 51 ;; 52 52 trunk/nuxleus/src/Nuxleus.Messaging/LLUP/InternalReceiverHandler.cs
r4121 r4126 61 61 private void BlipReceived(ISocketConnection sender, IMessage message) { 62 62 Notification n = Notification.Parse(message.InnerMessage); 63 // The publisher always ensure that each notification has its llup:id64 // element set so that consumers can decide whether or not65 // they have already processed a notification66 // The form of the id doesn't matter as long as it's unique.67 n.Id = Guid.NewGuid().ToString();68 63 postOffice.Post(n); 69 64 } trunk/nuxleus/src/Nuxleus.Messaging/LLUP/PublisherHandler.cs
r4121 r4126 104 104 set { 105 105 postOffice = value; 106 postOffice.Mailbox += new BlipPostedHandler(this.Blip Received);106 postOffice.Mailbox += new BlipPostedHandler(this.BlipToDispatch); 107 107 } 108 108 } … … 132 132 } 133 133 134 private void BlipReceived(Notification n) { 134 private void BlipToDispatch(Notification n) { 135 // The publisher always ensure that each notification has its llup:id 136 // element set so that consumers can decide whether or not 137 // they have already processed a notification 138 // The form of the id doesn't matter as long as it's unique. 139 n.Id = Guid.NewGuid().ToString(); 135 140 SendToAll(n); 136 141 } trunk/nuxleus/src/nux.build
r4120 r4126 464 464 <sources> 465 465 <include name="${source.dir}/ServiceApps/LLUP/Publisher.cs"/> 466 </sources> 467 <references> 468 <include name="${build.dir}/Nuxleus.Service.dll"/> 469 <include name="${build.dir}/Nuxleus.Vendor.dll"/> 470 <include name="${build.dir}/Nuxleus.Messaging.dll"/> 471 <include name="System.dll"/> 472 <include name="System.ServiceProcess.dll"/> 473 <include name="System.Xml.dll"/> 474 <include name="System.Web.dll"/> 475 <include name="System.Web.Services.dll"/> 476 </references> 477 </csc> 478 </target> 479 <target name="LLUPSubscriberService" depends="init Nuxleus Nuxleus.Service Nuxleus.Vendor Nuxleus.Messaging"> 480 <csc target="exe" output="${build.dir}/LLUPSubscriberService.exe"> 481 <sources> 482 <include name="${source.dir}/ServiceApps/LLUP/Subscriber.cs"/> 466 483 </sources> 467 484 <references> … … 567 584 <call target="LLUPPublisherService"/> 568 585 <call target="LLUPRouterService"/> 586 <call target="LLUPSubscriberService"/> 569 587 <call target="System.Messaging"/> 570 588 </target>
