Re: BSMConnector 9.22 Open Message Interface Policies (3917 Views)
Reply
Frequent Advisor
Mastron_s
Posts: 111
Registered: ‎05-05-2010
Message 1 of 3 (3,954 Views)

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?

HP Expert
PatWest
Posts: 835
Registered: ‎03-06-2008
Message 2 of 3 (3,925 Views)

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?
Frequent Advisor
Mastron_s
Posts: 111
Registered: ‎05-05-2010
Message 3 of 3 (3,917 Views)

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?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.