Migrating projects with Publish to Adapter activity and Subscription Service

You can migrate your projects that use the Publish to Adapter from ActiveEnterprise Adapter palette and Subscription Service in TIBCO ActiveMatrix® Adapter for SAP to IDoc Reader or JMS Send Message Activity in TIBCO ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions in the following manner:

Procedure

  1. In TIBCO Business Studio™ for BusinessWorks™, right-click on the project in the Project Explorer and select Refactor > Migrate Adapter to Plug-in.
  2. In the Migrate Adapter Activities window, select the project to migrate. Review the processes that are displayed for migration and then click OK.
  3. Open the processes and realign the mapper activity if required. Add mappings in the mapper activity.
    In the Configuration tab of the Publish to Adapter activity in TIBCO ActiveMatrix® Adapter for SAP, an Adapter Service should be mentioned for migration. Only the schema that is referenced by the Publish to Adapter activity is re-fetched during migration.
    Note: This release of TIBCO ActiveMatrix BusinessWorks™ Plug-in for SAP Solutions does not support migration of RequestReply and Custom AESchema.

    All the configurations of the Subscription service is migrated to respective fields of IDoc Reader or JMS Send Message activity under General and Advanced tab. In the General tab of the migrated activity, the migrated shared resource will be mapped to shared resource field. The schema selected in the Subscription service is mapped to IDoc Name of the migrated activity. The destination of these activities is the same for both and it refers to the destination in the Transport tab of the subscription service in TIBCO ActiveMatrix® Adapter for SAP.

    In the migrated activity, the fields that are not present in the Subscription Service but are present in the IDoc Reader activity will have default values. After migration, you need to manually provide the values for the Confirm IDoc Destination field in the Advanced tab of the IDoc Reader activity. This is required when the IDoc Confirmation check box is selected in the IDoc Reader activity. Also, the IDoc Error Destination field in the Advanced tab of the IDoc Reader activity.

    Note: These fields can be configured through JSON preference file. For more information, see Working with Preference File (JSON) for migration.
  4. To run the migrated project, from the menu bar click Run > Debug Configurations.
    A default JMS connection is created after migration if the ActiveMatrix® Adapter for SAP project does not have any JMS connection resource. If the JSON preference file is present, the value from the JSON file is used.
    If there are multiple Publish to Adapter activities with using different transports, then values of JMS properties overwrites the last process created.
  5. In the Debug Configurations windows, click Debug.