Questions tagged [rawrabbit]

19 questions
11
votes
1 answer

.NET Core Microservice using RabbitMQ

I am planing to use Microservice architecture for a project. The selected technology stack is .NET Core with Docker and RabbitMQ as a simple service bus and this should be able to deploy on Linux. Lets say I have a Payment service and an Order…
PIKP
  • 753
  • 2
  • 15
  • 24
5
votes
1 answer

Publishing error for single file .NET 5 project due to 3rd party dependencies

Currently, on a netcoreapp3.1 and I’m attempting to upgrade to .net5. There are no problems during compilation, but during runtime in Docker, I get: System.NotSupportedException: CodeBase is not supported on assemblies loaded from a single-file…
Lee Gary
  • 2,357
  • 2
  • 22
  • 38
4
votes
4 answers

Configure MassTransit for testing with WebApplicationFactory

I have an ASP.NET Core web app and test setup using WebApplicationFactory to test my controller actions. I used RawRabbit before and it was easy enough for me to mock the IBusClient and add it to the DI container as a singleton. Within the…
secretAgentB
  • 1,279
  • 4
  • 19
  • 36
4
votes
3 answers

RawRabbit.Pipe NameSpace

I'm trying to get a grip on ServiceBus architecture and I am using RawRabbit 1.10.4. For this I am following an online course where RawRabbit is used. In the Registration of Command Handlers, the following Extension Method is created, where the…
Franz Kiermaier
  • 387
  • 3
  • 19
2
votes
1 answer

How to add a custom header and then retrieve a custom header in rabbit message header

I need to find a way to add an origin value in the custom header and then retrieve a custom header in the rabbit message header. Ideally, we should have it this way. So far, I didn't have any success trying to find a way to do this. Exchange …
Pankaj
  • 4,419
  • 16
  • 50
  • 72
2
votes
0 answers

RabbitMQ/C# message serialization

Hey im having some problem serializing my POCOs via newtonsoft and rabbitMQ, they both implement IMessage interface, but the POCOs themselves are not shared between the apps, to summarize, i have one IMessage interface and two Message : IMessage…
ilovekittens
  • 75
  • 1
  • 6
2
votes
0 answers

How to Unsubscribe Rawrabbit?

I use this way to start subscribing to messages: var client = BusClientFactory.CreateDefault(); client.SubscribeAsync(async (msg, context) => { Console.WriteLine($"Recieved: {msg.Prop}."); }); ... but how do I "unsubscribe" and/or…
Thomas
  • 469
  • 6
  • 16
1
vote
0 answers

Xamarin + RabbitMq localhost connection problem

I have mobile app in Xamarin.Forms (android) + .Net core API. We figured out how to debug mobile requests over locally hosted API by using kestrel and proper launch settings (same wifi network). Now I have problem with access to local RabitMq…
1
vote
0 answers

RawRabbit - How to publish/subscribe to JSON message

I'm trying to do few quick prototypes of using RabbitMQ as message broker for internal services as well as messages from external clients received by gateway over websocket connection. I decided it would be best (and probabaly only) option for…
Łukasz Baran
  • 1,229
  • 3
  • 24
  • 47
1
vote
2 answers

.NET Core 2.2 RawRabbit Serializer/Dependency Injection Issue

I have microservice based on .NET Core 2.2. I am using RawRabbit (version 2.0.0-beta9) as the service bus. The following packages were installed with it:
hkjhadj1
  • 848
  • 3
  • 13
  • 32
1
vote
1 answer

How to specify queue name while posting message with RawRabbit

What I found so far, that it is possible to install RawRabbit.Enrichers.Attributespackage and configure message class with attributes: [Queue(Name = "my_queue"] private class AttributedMessage { } and set var client =…
Roma Kostelnyy
  • 183
  • 1
  • 12
1
vote
1 answer

RawRabbit serialization issue

I'm trying to implement an image processing service using RawRabbit that is going to receive images to be processed and will return the extracted information to a different queue. After removing all the unnecessary code I realized that the problem I…
user1862876
  • 171
  • 2
  • 9
1
vote
1 answer

What are the proper namespace and assemblies for RawRabbit?

Trying to use RawRabbit. I installed RawRabbit and RawRabbit.Next using PM The documentation suggests the following: var raw = BusClientFactory.CreateDefault(); However none of the namespace make it compilable. Which assembly should be installed?
J.Doe
  • 155
  • 2
  • 7
0
votes
0 answers

RawRabbit 1.10.4 Retry configuration

I started to use library RawRabbit, everything was great until i wanted to configure somekind of retry mechanism. In documation it looks simple: We configure client: var client = BusClientFactory.CreateDefault(); then just…
kenik
  • 142
  • 3
  • 13
0
votes
0 answers

RawRabbit Publish message

How can i publish and receive message i tried like this code below it makes queue and exchange but nothing message coming to my app? What i am doing wrong? //Publisher public static IBusClient GetBusClient() { var…
Splitsan
  • 135
  • 8
1
2