Author |
Message
|
pandeg |
Posted: Wed Jul 01, 2015 6:27 am Post subject: Java script to check queue depth using data power |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
Hi, I want to use data power to connect to MQ and perform MQ operations. Please let me know if we can use java script in data power to perform all these operations. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 01, 2015 6:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
First comes the question: Why would you want to check queue depth from DataPower? What is the requirement behind it?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pandeg |
Posted: Wed Jul 01, 2015 6:48 am Post subject: |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
Requirement is browse, check queue depth, clear message and display channel status , queue manager and listener status using data power. MQ will be used as back end for data power and i want to develop a restful service at front end to display the results of all these operations for monitoring and troubleshooting purpose. |
|
Back to top |
|
 |
pandeg |
Posted: Wed Jul 01, 2015 6:52 am Post subject: |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
I know that Data Power uses xslt and java script (latest version) programming for implementation , but not sure which one support all these operations and easy to implement. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 01, 2015 7:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
pandeg wrote: |
Requirement is browse, check queue depth, clear message and display channel status , queue manager and listener status |
Ok, that's a reasonable requirement.
pandeg wrote: |
using datapower |
That's not. DataPower is a security tool, not an application development environment.
Use something else. |
|
Back to top |
|
 |
pandeg |
Posted: Wed Jul 01, 2015 10:53 am Post subject: |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
But people use it as ESB product. XI52 is integration and gateway appliance. Can we use it to implement the solution for this requirement. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 01, 2015 11:00 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
pandeg wrote: |
But people use it as ESB product. XI52 is integration and gateway appliance. Can we use it to implement the solution for this requirement. |
An ESB product is not the same thing as an application server.
You won't be able to use IIB for this. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 01, 2015 11:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pandeg wrote: |
But people use it as ESB product. XI52 is integration and gateway appliance. |
And what part of that very correct statement indicates that it's also an application hosting environment?
pandeg wrote: |
Can we use it to implement the solution for this requirement. |
Probably. You can probably build a N A S C A R racer out of a semi. A semi is not the best thing to use as the basis for a race car, and an XI52 is not the best thing to use as the basis for an application solution.
So, put simply, you can use it but I can't think of a good reason to. "We already have a DataPower XI52" is not a good reason. I can, however, think of any number of good reasons not to use it, some of which have already been mentioned. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 01, 2015 11:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Translate your requirement to say that DataPower will provide the security for the app you are going to build to satisfy the requirement...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pandeg |
Posted: Wed Jul 01, 2015 11:58 am Post subject: |
|
|
Disciple
Joined: 21 Oct 2014 Posts: 195
|
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 01, 2015 12:21 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
pandeg wrote: |
Thanks for explaination , but i don't want to develop an App using Data Power |
Yes you do.
pandeg wrote: |
I just want to use as a service to call MQ. |
What's calling DataPower to invoke it's service.
That's a long way from saying DataPower has a service to check queue depth. You'd need to develop a lot of components in DataPower to package that as a "service", and I would continue to call that package an "application".
pandeg wrote: |
Similarly, I want to know whether it has methods to perform other MQ operations also. |
You could (by writing components) extend that metafunction for other purposes. I continue to assert that while this is possible, it's not the best (and is possibly the worst) way of achieving this end. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|