- Oracle Service Bus 11g Development Cookbook
- Guido Schmutz Edwin Biemond Jan van Zoggel Mischa K?lliker Eric Elzinga
- 325字
- 2021-08-20 15:48:09
Copying nodes/actions from one place to another
This recipe will just present a simple approach for doing refactoring of nodes and actions. It uses the copy/paste functionality of the Eclipse OEPE to copy a node/action from one place to another.
Getting ready
You can import the OSB project containing the base set up for this recipe into Eclipse OEPE from \chapter2\getting-ready\copying-nodes-actions
.
How to do it...
Often when creating a new message flow, some node/actions are very similar. Instead of creating all of them from scratch, there is a way to copy them in Eclipse OEPE. To duplicate a PipelinePair node, perform the following steps:
- Open the CustomerManagement proxy service and navigate to the Message Flow tab.
- Right-click on the node/action to copy, for example, the PipelinePair node in the FindCustomer branch and select Copy.
- Right-click on the PipelinePair node and select Paste.
- The PipelinePair has been duplicated under the new name PipelinePair1.
- The whole PipelinePair node including all nested nodes and actions is duplicated.
- The new node can now be moved to another place, if necessary, by applying the previous recipe Moving nodes/actions in Eclipse OEPE by drag-and-drop.
How it works...
The copy functionality in Eclipse OEPE provides a simple and efficient way to duplicate functionality in another place. This is handy because often the same kind of functionality is needed and there is no way to reuse code within a single message flow other than by copying it.
Sometimes it might not be possible to paste at the right place because the menu item is not available in both the context-sensitive menu as well as the main menu. In that case, duplicate the given node/action where it is allowed and then move it by applying the Moving nodes/actions in Eclipse OEPE by drag-and-drop recipe.
The copy/paste functionality also works across proxy services. Just open both artifacts and copy from one to the other. This is similar to copying text from one editor to another.
- 智慧城市:大數(shù)據(jù)、互聯(lián)網(wǎng)時(shí)代的城市治理(第4版)
- EJB 3.1從入門(mén)到精通
- 數(shù)字烏托邦
- OpenLayers Cookbook
- 物聯(lián)網(wǎng)關(guān)鍵技術(shù)及應(yīng)用
- 新一代物聯(lián)網(wǎng)架構(gòu)技術(shù):分層算力網(wǎng)絡(luò)
- Wireshark網(wǎng)絡(luò)分析就這么簡(jiǎn)單
- The Kubernetes Workshop
- 5G技術(shù)與標(biāo)準(zhǔn)
- Web用戶查詢(xún)?nèi)罩就诰蚺c應(yīng)用
- 新媒體交互藝術(shù)
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡(luò)原理、接口、互連與安全
- 趣話通信:6G的前世、今生和未來(lái)
- Python Web Scraping Cookbook
- 互聯(lián)網(wǎng)心理學(xué):新心理與行為研究的興起