ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere DataPowerJava script to check queue depth using data power

Post new topicReply to topic
Java script to check queue depth using data power View previous topic :: View next topic
Author Message
pandeg
PostPosted: Wed Jul 01, 2015 6:27 am Post subject: Java script to check queue depth using data power Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 01, 2015 6:34 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19430
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
View user's profile Send private message Send e-mail
pandeg
PostPosted: Wed Jul 01, 2015 6:48 am Post subject: Reply with quote

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
View user's profile Send private message
pandeg
PostPosted: Wed Jul 01, 2015 6:52 am Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 01, 2015 7:52 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

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
View user's profile Send private message
pandeg
PostPosted: Wed Jul 01, 2015 10:53 am Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 01, 2015 11:00 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

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
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2015 11:08 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24648
Location: Ohio, 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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 01, 2015 11:32 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19430
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
View user's profile Send private message Send e-mail
pandeg
PostPosted: Wed Jul 01, 2015 11:58 am Post subject: Reply with quote

Disciple

Joined: 21 Oct 2014
Posts: 195

Thanks for explaination , but i don't want to develop an App using Data Power . I just want to use as a service to call MQ. Please refer this link http://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/com.ibm.dp.doc/mq-queue-depth_metadatafunction.html. Here, Data Power is used to check queue depth. Similarly, I want to know whether it has methods to perform other MQ operations also.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2015 12:21 pm Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24648
Location: Ohio, 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.

pandeg wrote:
Please refer this link http://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/com.ibm.dp.doc/mq-queue-depth_metadatafunction.html. Here, Data Power is used to check queue depth.


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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerJava script to check queue depth using data power
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.