This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace MsmqAsyncSpike | |
| { | |
| using System; | |
| using System.Messaging; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| class Program | |
| { | |
| static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using NServiceBus.Pipeline; | |
| using NServiceBus.Pipeline.Contexts; | |
| namespace TTBRDemo | |
| { | |
| using NServiceBus; | |
| class EndpointConfig : IConfigureThisEndpoint, AsA_Server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <configuration> | |
| <config> | |
| <add key="DependencyVersion" value="HighestMinor" /> | |
| </config> | |
| </configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MessageUpConverter : IBehavior<ReceiveLogicalMessageContext> | |
| { | |
| public MessageMetadataRegistry MessageMetadataRegistry { get; set; } | |
| public void Invoke(ReceiveLogicalMessageContext context, Action next) | |
| { | |
| Console.Out.WriteLine("Upconverter invoked"); | |
| var meta = MessageMetadataRegistry.GetMessageDefinition(typeof (V2Message)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: | |
| public class MessagesViewIndex : AbstractMultiMapIndexCreationTask<MessagesView> | |
| { | |
| public MessagesViewIndex() | |
| { | |
| AddMap<AuditMessage>(messages => messages.Select(message => new | |
| { | |
| Id = message.Id, | |
| MessageId = message.MessageId, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTTP/1.1 200 OK | |
| Server: GitHub.com | |
| Date: Sat, 09 Nov 2013 12:38:55 GMT | |
| Content-Type: application/json; charset=utf-8 | |
| Status: 200 OK | |
| X-RateLimit-Limit: 5000 | |
| X-RateLimit-Remaining: 4996 | |
| X-RateLimit-Reset: 1384004333 | |
| Cache-Control: private, max-age=60, s-maxage=60 | |
| ETag: "03263a0c20f2e509008741c53e86579f" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace NServiceBus.Pipeline.Behaviors | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| /// <summary> | |
| /// This one would be a plugin somehow | |
| /// </summary> | |
| class SagaStateAuditingBehavior : IBehavior, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildsupport\ripple.exe create-packages -v %GitFlowVersion.NugetVersion% -d nugets -u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ReleaseNotesCompiler | |
| In order to improve the quality for our release notes we'll generate them based on the relevant github issues. | |
| * This is a separate tool from GFV | |
| * The build server will compile the release notes either for each commit or daily | |
| * Build will fail if release notes can't be generated | |
| * All closed issues for a milestone will be included | |
| * All issues must have one of the following tags Bug|Feature|Internal refactoring | |
| * For now the text is taken from the name of the issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (ex != null) | |
| { | |
| Transaction.Current.Rollback(ex); | |
| while (Transaction.Current.TransactionInformation.Status != TransactionStatus.Aborted) | |
| { | |
| Thread.Sleep(20); | |
| } | |
| } |