Quantcast
Channel: Service Bus forum
Viewing all 1916 articles
Browse latest View live

Can messages from Azure Event Hub be filtered to this level

$
0
0

I'm presently designing an IoT Event Hub architecture within which all connected IoT devices that publish messages to the Event Hub, will include the Latitude and Longitude of the originating device as part of the message.

I have a separate API that needs to be able to retrieve messages based upon supplying a Latitude and Longitude and radius from that point, with the object of the API Get, being to return a collection of messages that are within the said radius from the said geography point.

I was hoping that there's be a better method than having Worker Roles retrieve all messages and put the data into SQL Server so that the API could do a 'Nearest Neighbour' spatial query (the api needs to return such results every determinate (say 5 seconds) so that if new devices enter the zone described, that they are also included in the results.

Is there any way of retrieving messages from the Event Hub that fit into a search criteria like this, if so, how, and if not, what would be the recommended best practice of getting the messages into a Database so that such a spatial query could be undertaken as part of the procedure of returning a collection of results? 


Error during communication with Service Bus. Check the connection information

$
0
0

I get below issue while accessing service bus< Error><Code>500</Code><Detail>Error during communication with Service Bus. Check the connection information, then retry. TrackingId:e3b947c2-d7ec-4575-aedb-142ad3c56747_G23,TimeStamp:7/21/2015 9:54:13 PM</Detail></Error>.

Any idea about this issue?

--Imran

How to create the mentioned exceptions for event hubs

$
0
0

For testing purpose I need to create below mentioned exceptions for event hubs. Please share information if any of it can be imitated.

1. ServerBusyException
2. MessagingCommunicationException
3. TimeoutException
4. SendAvailabilityMessagingException

Manual Subcription Creation and Empty a queue

$
0
0

Is there a way to do following

1) Manually Create a Subcriber to a Service bus topic.

2) Manually empty/clear all the messages.

The type initializer for Microsoft.ServiceBus.Messaging.BrokeredMessage threw an exception

$
0
0

Dear all,

We use windows service bus 1.1 for our website. Today, there's a unhandled exception when sending the message to the bus: 

The type initializer for  Microsoft.ServiceBus.Messaging.BrokeredMessage threw an exception

After reseting the web application, this exception is gone away and our site is running normally. We try to figure out what the problem is but we cannot have any appropriate answer.

Have you ever seen this exception with service bus and asp.net application? Could you share to us some experience about it? We are worrying about it so much!

Thank you so much.

Delete messages from Event Hub

$
0
0

HI Team,

Is there any way to Delete or clean all messages from Event Hub

Exceptions on Renaming Queue

$
0
0

If I attempt to rename a queue to a name that I have used previously, but no longer exists it throws a 500 exception.

The remote server returned an error: (500) Internal Server Error. SubCode=50000. Internal  Server Error. TrackingId:a8a4c20b-c407-4b5a-8ddf-6e6db1698361_G41,TimeStamp:8/6/2015 9:27:17 PM

How to recreate is Create a Queue named "QueueA" and another called "QueueB", delete "QueueB" and attempt to rename "QueueA" to "QueueB".

Auto-forwarding across namespace/region

$
0
0
Is is possible to do this? If not, what are the suggested patterns for reducing latency when my deployment is in one region and my users are another. Its a mostly a request/response scenario. If there's no answer then despite all the fat pipes between data centers, my users will never get batter than public internet latency.

Which is more fragile? - A ServiceBus connection vs App Server in VPN connecting to on-Premise Oracle

$
0
0

Hi

Let me explain the scenario first.

We have on-premise large Oracle database above which lots of WCF services are written to read/write business transactions. Everything on-Premise so far. Now we have applications in cloud (Azure + AWS) which needed to use these on-Premise WCF services so we achieve this via Azure Service Bus Relay. Current flow is:-

Cloud Application (Azure + AWS) -> WCF Service (Azure) -> Azure Service Bus -> WCF Service (On-Premise) -> Oracle (On-Premise)

Now the plan is to get rid of Azure Service Bus and bring the APP Servers hosting the WCF (on-Premise) service into Azure VPN communicating with our on-Premise Oracle via VPN tunnel. These WCF services inside our VPN will then be exposed via Baracuda WAF firewall in Azure. The flow now would be:-

Cloud Application (Azure+AWS) -> APIGEE(SAAS) -> WCF Service (Azure VPN) -> Oracle (On-Premise)

Now after this premise, my question is specifically around which part if more fragile & expensive. A structured WCF response coming via ServiceBus or APP Servers in cloud (Azure VPN communiction is over the internet) talking to On-Premise database.

Here are my reasons to somehow think the later is not such a great idea.

1. First, I think a WCF response is more reliable than an Oracle data access connection. Although I have no evidence to support this theory.

2. Secondly, the communication with On-Premise Oracle from cloud would be an expensive affair as when you get data out from any database, you cast that into proper business object and leave the un-necessary bit out which reduces the amount of data travelling over the wire. In VPN solution, raw data will travel to cloud and then it will be casted into business logic and sometimes you make a second call later on the basis of checking few things which obviously will have more latency or response time.

3. Which is more easy to implement, failover in Service Bus or VPN solution. This is more of a question actually?

Apologies for such a long business case but needed to explain the situation for proper suggestions.

Thanks in advance.

Regards

Piyush


Piyush Gupta

Failed requests in Event hubs

$
0
0

Hi, 

In the Azure event hub if the message fail to load into event hub, how can we determine which messages have failed and what is the reason for failure? I have checked the operational logs but they do not have this information. Is there any tool available for checking the failed requests?

Thanks,

Kiran Kumar

Microsoft.Azure.ServiceBus.EventProcessorHost for Windows 10

$
0
0
I have followed the excellent article about service bus https://azure.microsoft.com/en-us/documentation/articles/event-hubs-csharp-ephcs-getstarted/ By Elio Damaggio.

Now I wanted to create the receiver in a Windows 10 App when is an IoT platform, but I cannot add the nuget package of Microsoft.Azure.ServiceBus.EventProcessorHost.

Some packages are not compatible with UAP,Version=v10.0(win10-x64-aot).

Any idea how to solve this?

In case is there another library would someone post an small concise example like the article?

Will be a release for Windows 10 to use as a receiver?


Juan Pablo G.C.

Using AMQP to send data from Android device to Event Hub?

$
0
0

I was able to test the AMQP Java example sending data to Event Hub. However, I was wondering if there is an example showing AMQP with Android? The qpid-proton client would not work due to the lack of some javax libs in Android (Dalvik). Is there a different client that has been tested demonstrating this successfully? 

Thanks!

Problem Authenticating Azure Service Bus on Preflight request

$
0
0
I'm facing CORS issue accessing Web API service through Azure Service Bus. It appears that service requires authentication header for OPTIONS verb. But this preflight request is constructed by the brower and it ignores provided headers. I'm making an AJAX call to my services.

ServiceBus Authentication on Pre-Flight request

$
0
0

Hi,

I've a Asp.Net Web Api rest service connected to Azure ServiceBus. 

I'm making ajax calls to this service. So I need an access Token to be passed as a header i.e. "Authorization : WRAP access_token=<my_token>" with the call.

This works fine when I make a direct GET request using Postman or RestClient. But when I make an ajax call from my website the browser makes it a pre-flight request. The Authorization header passed to this call is passed in another header called access-control-request-headers. Hence the service bus doesn't receives any header named Authorization and returns 401-Not Authorized error without even hitting the api service.

I need suggestions on how to either dodge the request from getting pre-flighted or pass the Authorization header as a direct header in pre-flight request.


Azure Event Hub - Publisher revoke not working

$
0
0

When using a non .NET message sender (e.g. postman - chrome extension) to send messages via a revoked publisher, the following error is returned, but the message still gets into the event hub.

<Error>

    <Code>403</Code>
    <Detail>Publisher: XXXXXXXXXX, was revoked access to Send messages to EventHub. TrackingId:a24bcd0000006fdb0001bd5555cdc883_G21_B35, Reference:b90356e9-7e2e-436e-9f4b-e85c65b91c19, Timestamp:8/14/2015 10:52:52 AM</Detail>
</Error>


Please advice.


Enabling Service Bus Access outside Azure Subscription

$
0
0

Hi,

We are planning to set up a Azure Service Bus. We are a platform provider company, and have to provide access to our service bus to multiple tenants. Each tenant may have their own Azure subscription. How can I allow access to our service bus (which will be set up in "host" Azure subscription) to tenants who have a different Azure subscription in a secure, manageable way.

Thanks.

Event Hubs with IoT device and HTTPS

$
0
0
I am currently working with setting up an Azure IoT demo showcasing the power of Event Hubs and a few other technologies. The devices I am working with use very basic WiFi chips that run off AT commands. The Wifi chip and supporting microcontrollers do not support SSL. Is there any way to upload events to event hub without SSL?

Using Shared Access Signature (SAS) authentication with Service Bus queue by .NetClient

$
0
0

Hi,

I have the namespace of service bus, I also have a service bus queue name and a generated SAS signature, can I use it to create a QueueClient to access service bus queue?

I looked around the APIs, just not found it. 

Thanks for you help

Robin

Possibility of lost messages

$
0
0
We are trying to use Service Bus for a life safety application.  What is the possibility of a lost message with this facility?

Single receiver for multiple Azure Service Bus Topic subscriptions

$
0
0

Hi,

I have created Azure Service Bus Topic samples from the Azure Service Bus documentation, however, I want to implement a single receiver that can receive messages from different Topic/subscriptions. 

For Example Topic 1 has a Subscription "sub 1" and Topic 2 has a Subscription "sub 2". Then my receiver should be able to receive messages from both of these subscription.

I am using onMessage method for receiving messages for 1 subscription, so do I have to implement threads in order to start another onMessage to receive message from second subscription?

Viewing all 1916 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>