I am using WSO2 EI 6.1.1. I am trying to consume Active MQ queue from inside the WSO2 REST API, but unable to achieve it. I don't want to use the proxy service of WSO2. Please provide some input.
WSO2 provides the JMS connector. Can you try with this?
Related
Good day!
I was asked to publish an rtsp stream on wso2 api manager 3.2, for example this: rtsp: //wowzaec2demo.streamlock.net/vod/mp4: BigBuckBunny_115k.mov. Naturally - this does not work, I do not receive rtsp data proxied through wso2 api manager 3.2. Am I getting it right, this shouldn't work? I want to know if it is possible to receive multimedia data through wso2 api manager 3.2?
And also I want to know if it is possible to receive any other streaming data through wso2 api manager 3.2, for example, stock quotes? Or is this only possible in version 4.0?
Currently, WSO2 API Manager or WSO2 Streaming Integrator products (even the latest versions) are not supporting such RTSP streams.
It is possible to create WebSocket APIs using WSO2 APIM 3.2.0, where streams will use ws (or wss) protocols. If your stock quote data are coming from a server via a WebSocket channel, you can create a WebSocket API in WSO2 API Manager 3.2 and consume them.
WSO2 API Manager's latest version 4.0 has support for proxying WebSocket and SSE (Server-Sent Events) streams as managed APIs by default. Unlike in API Manager 3.2, resources are supported for these types of APIs as well. So in this case, if your stock quote data are coming from the server in the form of WebSocket or Server-Sent Events, you can directly proxy your server via WSO2 API Manager 4.0.
If you are getting stock quote data from your server via other protocols such as Kafka, MQTT, HTTP, JMS and etc, you can use WSO2 Streaming Integrator (which is an integration component of API Manager 4.0) to switch from those protocols - to WebSocket or SSE; and then you can proxy the switched stream. Here is an example of switching Kafka to WebSocket, and exposing it as a WebSocket API.
You can find more information from here.
I know that WSO2 ESB is one of product of WSO2 EI platform.
But I need to connect oracle database and execute some sample queries, I cannot find this feature from WSO2 ESB, but WSO EI has that features
Please refer below Questions:
What if i use WSO2 EI instead of WSO2 ESB for integrate our systems and subsystems in productino usages ?
Which one is better to use ?
WSO2 EI is nothing more than a collection of profiles such as WSO2 ESB, WSO2 Message Broker etc. You can use WSO2 EI without any problem because WSO2 ESB is not released separately anymore. Download EI and start the ESB profile by going to [EI-HOME]/bin/integrator.sh.
I have using WSO2 identity server,but i have facing problem for Policy creation,
because this is available in XACML Poliicy.
Document :
https://docs.wso2.com/display/IS570/Entitlement+with+APIs#EntitlementwithAPIs-publishToPDP()
any plugin any anything available for convert to REST API?
Yes there is no straight forward way to utilize PAP operations in REST way. But there are couple of alternate solutions.
If you are good in WSO2 EI (previously WSO2 ESB) you can use SOAP to REST transformation as per [1]
You can write your own java component as JAX-RS service in WSO2 Identity Server [2]
[1]https://docs.wso2.com/display/EI600/Using+REST+with+a+Proxy+Service#UsingRESTwithaProxyService-RESTClientandSOAPService
[2]https://wso2.com/library/articles/2016/10/article-exposing-wso2-identity-server-admin-services-the-rest-way/
I have following requirement, is this possible to achieve in WSo2 API Manager. Please advise. I got few article/pages with information on how to post request to message queue but none for how to consume message.
UI client calls a REST API exposed on the API gateway.
The backend service actually providing the implementation is a module
This module reads from a MQSeries queue an XML message, processes it and responds back to an outgoing queue.
So API gateway must be able to transform the REST/JSON payload to an XML payload and put it on the MQ Series queue
Wait synchronously and pick up response from another MQSeries queue.
APIM does not support consuming JMS messages OOTB. But WSO2 ESB. See https://docs.wso2.com/display/ESB500/ESB+as+a+JMS+Consumer
However, since APIM has ESB features installed by default, you should be able to deploy such a JMS consuming proxy in APIM too.
Have a try and post if you face any issues.
Myself: New to WSO2, Evaluating multiple ESB products
Here is what I am trying to do with wso2 ESB
Application "A" will send a zipcode (SOAP-WDSL) to WSO2-ESB
WSo2 will use that zip-code and query National WeatherService and obtain
the Lati-Long for zipcode
LatLonListZipCode method at
http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl
Return the lat-Lon to Application "A"
Would someone please guide me , like where to start and the components needed so forth?
I am kind of confused by all the terminologies and over complicated product names and hierarchy (carbon, oxygen so forth)
For your requirement what you simply need is to create a Proxy service in WSO2 ESB to invoke this Backend service. (National WeatherService)
If you want to get started with WSO2 ESB I recommend you to 1st go though. WSO2 ESB Sample guide and WSO2 ESB Configuration. Where you can get a head start using that.
For your scenario you can simply follow the below steps to create a simple WSDL Proxy create a working scenario which you can later improve (ex with routing , monitoring etc..)
1) Login to WSO2 ESB.
2) Go to Proxy Service Adding Section
3) Select WSDL Based Proxy as the Template
4) Give a Proxy name , WSDL url , Service name (ndfdXML) , WSDL Port (ndfdXMLPort) and tick Publish Same Service Contract
And create the service.
Now you have exposed the same service though WSO2 ESB. You can go to service list section.Get the Service EPR details and invoke the service using your application.
Below is a nice work done for beginners. Someting similar to your case
http://dakshithar.blogspot.com/2012/07/routing-and-service-chaining-with-wso2.html