Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
elisabeth_riemann
Product and Topic Expert
Product and Topic Expert

'Default' service plan for SAP Cloud Platform Enterprise Messaging


With immediate effect, SAP Cloud Platform Enterprise Messaging supports a new and improved 'Default' service plan available when you create a new Enterprise Messaging service instance. (Please note that the 'Default' service plan is not available as part of SAP Cloud Platform trial accounts). Technically, the 'Default' plan differs from the former 'Lite' plan in that the message bus exists at subaccount level and only service instances/message clients from this subaccount can access this bus. The 'Default' service plan replaces the previous 'Lite' plan and ensures that your messaging infrastructure is optimized and can fully support scalable and versatile event-driven extension scenarios.

Coinciding with the introduction of this new and improved 'Default' service plan, the previous 'Lite' plan will no longer be available to purchase. We strongly recommend you create new Enterprise Messaging service instances based on the new 'Default' service plan. By creating new messaging instances with the 'Default' plan, you benefit from an upgraded messaging and eventing infrastructure. These setup changes enable you to extend SAP solutions with greater ease and efficiency without disrupting performance or core processes.

Create new Enterprise Messaging service instance


Prerequisite: check your global account entitlements


To create a new service instance, you must ensure that you have the relevant entitlements for SAP Cloud Platform Enterprise Messaging in your global account.

  1. In your SAP Cloud Platform Cockpit, open your global account and choose Entitlements, Subaccount Assignments.

  2. In the dropdown list, select your subaccount and choose Go.

  3. Choose Configure Entitlements and then Add Service Plans.

  4. In the Subaccount Entitlements dialog box, select the Enterprise Messaging service.

  5. In the Service Details: Enterprise Messaging screen area, select the default service plan for Enterprise Messaging.

  6. Press the Add 1 Service Plans button to add this entitlement for the Enterprise Messaging service for your subaccount.

  7. Press Save.


How to create new service instance using Default service plan


When you create a new service instance for Enterprise Messaging and select the service plan, you create a new message client, which will enable you to receive events from your registered backend/LoB systems. Each service instance is a message client that contains a name, namespace, and a set of rules.

  1. In the SAP Cloud Platform Cockpit, open your global account and navigate to the subaccount in which the development space where you want to create the service instance resides.

  2. In the Navigation area, choose Services -> Service Marketplace where all the services available for your space are displayed.

  3. Choose the Enterprise Messaging tile.

  4. Choose Instances and then press the New Instance button.

  5. Select the Default service plan and choose Next.


  6. To create the service instance, you maintain JSON syntax parameters, which define the service descriptor attributes. You need to enter your message client name ("emname") and the namespace and maintain the options to define the access channel and the rules for your message client. For more information about the syntax, see Syntax for Service Descriptor.
    Example:
    {
    "emname": "<yourmessageclientname>",
    "namespace": "<yourorgname>/<yourmessageclientname>/<uniqueID>",
    "version": "1.1.0",
    "options": {
    "management": true,
    "messagingrest": true,
    "messaging": true
    },
    "rules": {
    "queueRules": {
    "publishFilter": [
    "${namespace}/*"
    ],
    "subscribeFilter": [
    "${namespace}/*"
    ]
    },
    "topicRules": {
    "publishFilter": [
    "${namespace}/*"
    ],
    "subscribeFilter": [
    "${namespace}/*"
    ]
    }
    }
    }


  7. Enter the service instance name and choose Finish.


Note: If you need to delete an Enterprise Messaging service instance from the table, select the row and choose Delete from the Actions column.

New UI for the Default service plan


A new Enterprise Messaging UI is available with the Default service plan. The new UI enables you to manage your message clients and explore events.

Note: With Enterprise Messaging Default service, plan, the Cloud Foundry dashboard is not directly provided. You need to subscribe to the Enterprise Messaging application in the subscriptions section of the subaccount.



Prerequisite: subscribe to Enterprise Messaging


How to access new UI


Note: only administrators of the global account can set up subscriptions.

  1. In the SAP Cloud Platform Cockpit, navigate to the subaccount (of which you are an administrator).

  2. Choose Subscriptions from the navigation pane on the left and click on the Enterprise Messaging tile. If you are not already subscribed, open this tile and press the Subscribe button.

  3. After you have subscribed to Enterprise Messaging, new Role Collections are available inside your subaccount that need to be assigned to your user so that you can access the Enterprise Messaging UI.

    For further details, see Assign Roles to Users

  4. After you have assigned the Role Collections, click on Go to Application link.

  5. Log on using your email address and password to access Enterprise Messaging. The new UI for managing message clients and event exploration is displayed.

  6. On the Message Clients screen, you can select the message client (emname) you have created.

  7. The UI reflects the attributes you specified in the JSON parameters when you created the new service instance (message client).


Example 1: Message client attributes defined in Service Descriptor




Example 2: Message client rules defined in Service Descriptor



For more information about subscription, see Subscribe to Multitenant Business Applications in the Cloud Foundry Environment Using the Cockpit.

How to create a queue and a queue subscription


To complete the setup for your new Enterprise Messaging service instance, you need to create a queue and a queue subscription for your new message client.

  1. On the Enterprise Messaging UI, click on the name of your new message client.

  2. Select the Queues tab and press Create Queue.

  3. Enter a queue name (e.g. BusinessPartnerQueue) and choose Create. The namespace from the service descriptor parameters (JSON) is appended.

  4. To manage the queue subscriptions, choose Queue Subscriptions under Actions.
    In this step, you subscribe your queue to a topic to where your system will send the events.

  5. Enter the topic name or pattern from the service descriptor.

  6. Choose Add to subscribe your queue to the topic name/pattern.

  7. Choose Close.


Summary


After completing these steps, you have created a new Enterprise Messaging service instance (message client) based on the new Default service plan, and set up a queue and a queue subscription.

For more detailed information, see:

If you have any questions, please don't hesitate to reach out to us via SAP Community.

 
10 Comments
0 Kudos

This is so fantastic info. Thanks for sharing with us keep it up!

ChristianPf
Participant
0 Kudos
Indeed this is great news.

So dev and lite plans are still using the old infrastructure.

Should we migrate our dev instance also to default plan? Do we have to pay for the dev/qa instances as well then?
elisabeth_riemann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

The steps described outline the necessity to discontinue the use of ‘lite’ service plans and create instead ‘default’ service plans. If you have any further questions, please don’t hesitate to contact us.

Best regards,

Elisabeth

ChristianPf
Participant
0 Kudos
Hi Elisabeth,

I get that but it is confusing to have the old dev instance with a different UI in our dev/test enviroment compared with the production environment.

When will you guys migrate the dev plan to the new UI and infrastructure?

Thank you and regards

Christian
elisabeth_riemann
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Christian,

Moving forward, there are no plans to migrate 'dev' service plans. The new 'default' service plan has been engineered to replace all previous service plans.

The 'default' service plan and UI ensure all our customers can implement integrated extension scenarios on SAP Cloud Platform and take advantage of the optimized messaging and eventing infrastructure. The new technical setup means it's necessary to access the new Enterprise Messaging UI at subaccount level.

While the 'default' service plan provides greater scalability and the full benefit of the event bus, the new UI includes usability improvements (based on feedback from existing customers).

Best regards,

Elisabeth
drvup
Contributor
Hey Elisabeth,

 

thank you for this insights.

 

Just a small note, I want to share because it's taking me some time to realize & understand:

With the new UI and the new behavior of the EMS instances, the final name of each queue has changed. Especially if you're using defined rules, the name of the queue has to follow these.

Therefore - by reaching out to this API's (e.g. in POSTMAN), take care to provide the complete queue name and escape (!!!) the "/" in the name. This was taking me some time 😉

 

Example:

Queue: /ems/abc/ger/inbox

Consume API:

https://enterprise-messaging-pubsub.cfapps.euXX.hana.ondemand.com/messagingrest/v1/queues/ems%2Fabc%...

 

Hope this is helping someone in need 🙂

 

Best regards,

Cedric
binson
Product and Topic Expert
Product and Topic Expert
0 Kudos
and also importantly, the queue name should be URL encoded. 🙂
tobias_steckenborn
Active Participant
0 Kudos
Is there any ETA for it being available in trial?
tobias_steckenborn
Active Participant
0 Kudos
tobias.griebe Hi Tobias, you seem to be quite active in the area of Event Mesh - do you have any information that can be shared?
Tobias_Griebe
Advisor
Advisor
0 Kudos
Hi tobias_steckenborn,

there are currently no plans to bring the SAP Event Mesh "default" plan to the trial landscape. The majority of features are also available in the "dev" plan.

Best regards,
Tobias