Tags » Microsoft Cloud

Does Azure ExpressRoute support Power BI?

Power BI is a key Data Analytics solution offered via Microsoft Office365. As Microsoft states, “Power BI is a suite of business analytics tools to analyze data and share insights.” With in-built connector with 59 different systems, Power BI provides an elegant and effective tool to business for data analysis. 541 more words

Microsoft Cloud

Single Sign On for Microsoft Dynamics CRM Online (Part 2) – Federate Identity Model

In the previous post, we discussed about Synchronized Identity model of Single Sign On with Azure Active Directory and local Active Directory for a Dynamics CRM Online deployment. 709 more words

Dynamics CRM

How to Receive a Message from a Microsoft Azure Service Bus Topic with Java

import static java.lang.System.out;

import com.microsoft.windowsazure.services.servicebus.ServiceBusConfiguration;
import com.microsoft.windowsazure.services.servicebus.ServiceBusContract;
import com.microsoft.windowsazure.services.servicebus.ServiceBusService;
import com.microsoft.windowsazure.services.servicebus.models.BrokeredMessage;
import com.microsoft.windowsazure.services.servicebus.models.ReceiveSubscriptionMessageResult;

public final class AzureSample {

  public static void main(final String[] args) throws Exception {
    final ServiceBusContract service = ServiceBusService.create(ServiceBusConfiguration.configureWithSASAuthentication("accountname", "sharedaccesskeyname", "sharedaccesskey", ".servicebus.windows.net"));

    final ReceiveSubscriptionMessageResult res = service.receiveSubscriptionMessage("SampleTopic", "SampleSubscription");

    final BrokeredMessage msg = res.getValue();

    out.println(msg);
  }

}
Software

How to Send a Message to a Microsoft Azure Service Bus Topic with Java

import com.microsoft.windowsazure.services.servicebus.ServiceBusConfiguration;
import com.microsoft.windowsazure.services.servicebus.ServiceBusContract;
import com.microsoft.windowsazure.services.servicebus.ServiceBusService;
import com.microsoft.windowsazure.services.servicebus.models.BrokeredMessage;

public final class AzureSample {

  public static void main(final String[] args) throws Exception {
    final ServiceBusContract service = ServiceBusService.create(ServiceBusConfiguration.configureWithSASAuthentication("accountname", "sharedaccesskeyname", "sharedaccesskey", ".servicebus.windows.net"));

    service.sendMessage("SampleTopic", new BrokeredMessage("Simples Assim"));
  }

}
Software

How to Receive a Message from a Microsoft Azure Service Bus Queue with Java

import static java.lang.System.out;

import com.microsoft.windowsazure.services.servicebus.ServiceBusConfiguration;
import com.microsoft.windowsazure.services.servicebus.ServiceBusContract;
import com.microsoft.windowsazure.services.servicebus.ServiceBusService;
import com.microsoft.windowsazure.services.servicebus.models.BrokeredMessage;
import com.microsoft.windowsazure.services.servicebus.models.ReceiveMessageResult;

public final class AzureSample {

  public static void main(final String[] args) throws Exception {
    final ServiceBusContract service = ServiceBusService.create(ServiceBusConfiguration.configureWithSASAuthentication("accountname", "sharedaccesskeyname", "sharedaccesskey", ".servicebus.windows.net"));

    final ReceiveMessageResult res = service.receiveMessage("SampleQueue");

    final BrokeredMessage msg = res.getValue();

    out.println(msg);
  }

}
Software

How to Send a Message to a Microsoft Azure Service Bus Queue with Java

import com.microsoft.windowsazure.services.servicebus.ServiceBusConfiguration;
import com.microsoft.windowsazure.services.servicebus.ServiceBusContract;
import com.microsoft.windowsazure.services.servicebus.ServiceBusService;
import com.microsoft.windowsazure.services.servicebus.models.BrokeredMessage;

public final class AzureSample {

  public static void main(final String[] args) throws Exception {
    final ServiceBusContract service = ServiceBusService.create(ServiceBusConfiguration.configureWithSASAuthentication("accountname", "sharedaccesskeyname", "sharedaccesskey", ".servicebus.windows.net"));

    service.sendMessage("SampleQueue", new BrokeredMessage("Simples Assim"));
  }

}
Software

How to Receive a Message from the Microsoft Azure Queue Service with Java

import static java.lang.System.out;

import com.microsoft.azure.storage.CloudStorageAccount;
import com.microsoft.azure.storage.queue.CloudQueue;
import com.microsoft.azure.storage.queue.CloudQueueClient;
import com.microsoft.azure.storage.queue.CloudQueueMessage;

public final class AzureSample {

  public static void main(final String[] args) throws Exception {
    final CloudStorageAccount account = CloudStorageAccount.parse("DefaultEndpointsProtocol=https;AccountName=accountname;AccountKey=accountkey");

    final CloudQueueClient client = account.createCloudQueueClient();

    final CloudQueue queue = client.getQueueReference("samplequeue");

    final CloudQueueMessage msg = queue.retrieveMessage();

    out.println(msg.getMessageContentAsString());

    queue.deleteMessage(msg);
  }

}
Software