No MailTransportSender in WSO2 Micro Integrator? - wso2

I am working with Micro Integrator which is available inside latest Integration studio as run time. When I check the axis2.xml file to configure the MailTransportSender to send email notifications, I didn't see those properties.
I tried to copy those from ESB profile and tried to use in Micro Integrator. As soon as I start the server the properties are disappearing from axis2.xml file of Micro Integrator.
How do I resolve this?

It should work in Micro Integrator. But the way you add them is different. Micro Integrator comes with new deployment toml file, where you have to edit all the configurations, which will overwrite the config files on startup ( also axis2 ). Please refer the documentation https://ei.docs.wso2.com/en/latest/micro-integrator/setup/transport_configurations/configuring-transports/#configuring-the-mailto-transport for more details.
Thanks !
Nirothipan

Related

WSO2 Enterprise Integrator + WSO2 Message Broker

I need to deploy the message broker. However is not clear if I must have the ESB profile running too.
I'm following this guide https://dzone.com/articles/wso2-enterprise-integrator-with-a-message-broker-p and it seems that ESB profile is needed. Is it correct? What's the point in running ESB profile alongside the MB profile? thanks
If you only need message broker you only need to start MB profile. documentation
To start the MB profile: Open a terminal, navigate to the /bin directory where all the startup scripts are stored and run the startup script:
On Windows: broker.bat
On Linux: sh broker.sh
The document you referred explains how to integrate message broker and ESB. You don't have to start ESB profile unless it's applicable for your use-case.

wso2 EI/ESB setting up a antivirus possible?

I'm working on a project that needs to subscribe to the api's of multiple social media channels, for this reason we are using wso2 EI and for security protection I would like to intercept the message contents having attachements and fire an antivirus if possible to check the contents.
I have been searching over the web and the wso2 documentation but I have very few info regarding this.Kindly suggest if there is any alternative or if possible any configuration that can be done in the esb.

how to resgist datamapper mediator in WSO2 ei

Now I want to use data mapper mediator in WSO2 ei console, and it requires me to select some Configuration Registry files:
but I don't know how to register these configuration, in the WSO2 EI documentation I could hardly find how to register, while I only found that I can create a ESB solution project and package that to a .car file, then deploy it.
But I don't want to do this, so I need help.
I believe what you're looking for is in this link.
Mapping Configuration: The file, which contains the script file that is used to execute the mapping. You need to create a mapping
configuration file using the Dev Studio-based Tooling plugin, and
store it either in the Configuration Registry or Governance Registry,
to select and upload it from here.
Let me know if it worked or need more help.

Is possible run message broker as a windows service in wso2?

I already was able to create API Manager and Enterprise Integrator as service, following this tutorials: https://docs.wso2.com/display/EI611/Installing+as+a+Windows+Service
https://docs.wso2.com/display/AM210/Installing+as+a+Windows+Service
But i can't found a tutorial to show me the way to configure Message Broker to be installed as windows service. Could anyone help me?
Thank you.
I discovered the solution from that. Unfortunately the WSO2 don't have the support to create a message broker as a service yet. Been like that, you can't do that yet, unless you find anothers way out of the original platform to do so.
Its possible to do that through the YAJSW by installing the version of 11.03.
I tried and resolved the same by keeping the ESB and Message Broker as a different services in the windows service.
Just change the name and convention as per the services and maintain the uniqueness which you want to execute as a service.
Also, do the steps as provide by the YAJSW steps to install as a service for both either EI or ESB and Message Broker.
Follow the below link for the steps,
https://docs.wso2.com/display/ESB500/Installing+as+a+Windows+Service#InstallingasaWindowsService-SettinguptheYAJSWwrapperconfigurationfile
Thanks,
Praveen Tallakokula

Error occurring while Listing wsdl from wso2 governance

I have added wso2 governance registry on wso2 BPS 3 as a feature from http://dist.wso2.org/p2/carbon/releases/turing/
and restarted.
When tried to add wsdl from file it giving error:
org.wso2.carbon.governance.api.exception.GovernanceException: Attribute Search Service not Found.
I am trying to use BPS, GREG as a single component to reduce servers in my project. After GREG added as a feature it adding ".wsdl" file at "_/system/governance" and it is not forming endpoints,services as GREG normally do.
Is there any way to get out of this problem.
Thank's in advance....
The reason for this is missing some of the features which needed in ordered to work governance features. I think best option is using Governance Registry separately and mount the registry of it to BPS. By doing this you can add services from Governance Registry and use them in BPS. You can follow this document for more information on registry mounting.