|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CMPAPIs - Bar File Generation |
« View previous topic :: View next topic » |
Author |
Message
|
deepnair |
Posted: Mon Mar 19, 2012 5:34 pm Post subject: CMPAPIs - Bar File Generation |
|
|
Apprentice
Joined: 07 Feb 2012 Posts: 35
|
Hi - is there a way to create bar files using CMPAPIs ? I know that we can deploy bar files to EG dynamically via CMPAPIs but any way to create bar files ?
We are writing utilities that can pick up multiple flows and message sets and generate BAR files and deploy them.
Thanks,
Deep Nair |
|
Back to top |
|
 |
stallin |
Posted: Mon Mar 19, 2012 11:25 pm Post subject: |
|
|
Novice
Joined: 11 Jan 2009 Posts: 21
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Mar 20, 2012 5:15 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Mar 20, 2012 5:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The CMPAPI/Admin API talks to broker runtime.
Compiling bar files is a Toolkit only function.
You could, in theory, spend time and effort digging around and trying to get the necessary eclipse calls (that are undocumented) to cause Toolkit to create a bar file.
But you should do as mentioned and invoke mqsicreatebar instead. Remember, this *requires* the Toolkit so the Toolkit *must* be installed on the machine that is executing the mqsicreatebar command.
You can use the Ant APIs from Java code to run an ant task that knows about mqsicreatebar, if you don't want to write your own Java code to start and manage a process. |
|
Back to top |
|
 |
deepnair |
Posted: Tue Mar 20, 2012 12:29 pm Post subject: |
|
|
Apprentice
Joined: 07 Feb 2012 Posts: 35
|
Thanks Jeff - yes we will be invoking ant from java to achieve mqsicreatebar.
Regards,
Deep Nair |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|