Application Perf Mgmt (BAC / BSM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

BSMConnector 9.22 Open Message Interface Policies

Frequent Advisor

BSMConnector 9.22 Open Message Interface Policies

Hello all!

How i can map attributes in оpcmsg Command Line Tool.

For example i want to send message to BSM that have:

Title: Title test

Description:DescriptionTest

Customattr1:testattr1

Customattr2:tetstattr2

 

If this not possible with оpcmsg Command Line Tool is it possible in оpcmsg Java API?

2 REPLIES
HPE Expert

Re: BSMConnector 9.22 Open Message Interface Policies

as far as i know, its not available in the command line, but the SENDEVENT.BAT tool on the BSM GW can use CMA .

What is your goal?
Highlighted
Frequent Advisor

Re: BSMConnector 9.22 Open Message Interface Policies

[ Edited ]

I need recieve messages from Apache Active MQ.
I have adapter to MQ that ca wrtite data to xml files and now i use XML File Policies in BSMConnector, but i have troubles with using single xml file and i want to write each event(it coming 5-10 per hour) to separate xml file.
So now im trying to test possibility to use <`command`> instead of single file.
Fot test purposes i writed shell script:

#!/bin/sh
echo /opt/uftrelay7/BSMin/1.xml

And i specified in policy field "Log File Path / Name" full path to scipt:

"/opt/uftrelay7/BSMin/xmlname.sh"

"`/opt/uftrelay7/BSMin/xmlname.sh`"

"<`/opt/uftrelay7/BSMin/xmlname.sh`>"

"</opt/uftrelay7/BSMin/xmlname.sh>"

 

The first case not recieve events

Other generate event "file..... does not exist"

 

Whats wrong?