#Async implementation in custom Mule plugin - asynchronous

I am working on custom mule connector. Connector needs to call a rest service asynchronously.
One way is to embed connector in asynchrous scope component.
Do we have any option in Mule plugin dev kit?
Thanks in advance.

Related

Can we use SignalR in .NET Rest API project?

I have minimal API projects in .NET core 7. The frontend project is separate and created in Vue JS. I need to use SignalR for the notification module, but I can't figure out if this is really possible?
in.NET, all I have is REST APIs for my project, I created an API for SingleR, and it's being called from Vue JS, but the message is not being delivered to the client. Connect ID is being generated. Do I need to create some background services etc. in my understanding, once REST API is being called, it can't be connected forever for WebSocket purpose.

How to Publish Mule Application to Exchange as Connector in Mule 4

I need to publish mule application to exchange as connector in mule 4.
Could anyone please let me know the process.
You can't publish an application to Anypoint Exchange and expect it to be used as a connector. An application and a connector are different artifacts, are created differently and work differently.
What you can do is to create an actual connector with the XML SDK, and try to adapt the flows of your application into the format required by the XML SDK, which is similar to application's flows but instead defines operations, with inputs and outputs.

Microsoft workdflow custom connector

I am trying to develop a simple customer connector for my website on microsoft flow and so far I can't see how to use a web API that is hosted on my website every article tutorial I am coming by require APIs to be hosted on Azure, also an Azure account is a prerequisite .. is it true Only azure APIs to be used for custom connectors ?
Azure is not a prerequisite for Custom Connector. I agree that most of the tutorials talk about connecting Azure hosted apps.
Microsoft flow currently supports creating custom connector with Swagger API output or postman exported data. I created a Postman collection with the API and gave the exported data as input to Microsoft flow for creating the connector.
Detailed Tutorial is available here
https://flow.microsoft.com/en-us/documentation/postman-collection/
I have the same issue, I have configured a custom connector for testing to go against this test / mock API
POST -> https://jsonplaceholder.typicode.com/posts
In the connector test it keep on hitting this URL:
https://msmanaged-na.azure-apim.net/apim/zoom.2dtest.2d002.5f43ed1d930148619c.5f4fd64f4beaca2b60/51136e9557bf4e128e0d7552ff624ebd/posts
I have never configure it to go there. No document explains how or why this would happen.

How to generate Java classes from REST

With SOAP WebSevices and WSDL it's very easy to generate a Java WebService client with wsimport.
Is there a similar way to do this for Java REST clients?
Thanks, Simon
Take a look at Alchemy Rest Client Generator. It can generate a jersey 2.0 java client for your JAX-RS REST services by integrating into your server builds.
The client will mimic the exact service API. However this project does not yet support WADL and does not handle marshalling and demarshalling of your transfer objects.
Disclaimer: I am the author of this project.
Do you have a WADL descriptor for your REST service?
If so, you can use wadl2java or maybe something built-in in your IDE (IDEA for example has a wizard for that).

How do I implement a custom message queue listener for WAS activation?

I'm writing components of a .Net 4.0 web solution (on IIS7, WS2008), and need to provide a service which can consume messages from a message queue. I've found setup examples for configuring WAS service activation using MSMQ... but we aren't using MSMQ (using RabbitMQ) and I'm pretty sure I'll have to implement some kind of listener of my own.
I guess my problem is the system of configuration settings I'll have to set up is pretty opaque, and documentation is not clear.
so A: how do I implement and configure a custom listener for WAS service activation.
and B: any advice for configuring the rest of this setup would be wonderful.
Thanks
better to consume as a windows service whih is a pain. We are using an opensource project called TopShelf hosted by google. Rubbish documentation but it has a feature where is will auto run all DLL files placed in a directory as windows services - make depoyment and upgrade easy.
In the WCF WF Samples there's source for a UDP Activator. Wish there was one for AMQP.

Resources