Registering for a Topic with own stream & queue in Pub/Sub

Hi *.
I'm working with MQSeries 5.3 on WinXP.
I don't know, how to register a subscriber to a topic with the JMS-classes. I found a sample from IBM, but it uses the native (MQ)classes and it does not work, when I try to register an own queue or stream. Everything works fine with system-queues/streams, but I shouldn't work with the defaults in my application.
Does anybody know, where I can find a sample to register a subscriber to a topic, which is based on JMS ?
Thank you very much in advance.
Jo

Yes, the script is provided by IBM when you install the java for mqseries for websphere MQ. It is under MQ_JAVA_INSTALL_PATH/bin directory called MQJMS_PSQ.mqsc.
I am copying the contents of the file if you want:
* IBM Websphere MQ Support for Java Message Service */ */
* Sample MQSC source defining JMS Publish/Subscribe queues. */
* Installation Verification Test - Setup script */
* Licensed Materials - Property of IBM */
* 5648-C60 5724-B4 5655-F10 */
* (c) Copyright IBM Corp. 1999. All Rights Reserved. */
* US Government Users Restricted Rights - Use, duplication or */
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.*/
* JMS Publish/Subscribe Administration Queue */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.ADMIN.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - admin queue') +
* Persistent messages OK
DEFPSIST(YES) +
* Non-Shareable
NOSHARE
* JMS Publish/Subscribe Subscriber Status Queue */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.PS.STATUS.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - PS status queue') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED)
* JMS Publish/Subscribe Report Queue */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.REPORT.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - Report queue') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED)
* JMS Publish/Subscribe Subscribers Model Queue */
* Create model queue used by subscribers to create a permanent */
* queue for subsciptions */
* General reply queue */
DEFINE QMODEL('SYSTEM.JMS.MODEL.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - Model queue') +
* Queue Definition Type
DEFTYPE(PERMDYN) +
* Shareable
SHARE DEFSOPT(SHARED)
* JMS Publish/Subscribe Default Non-Durable Shared Queue */
* Create local queue used as the default shared queue by */
* non-durable subscribers */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.ND.SUBSCRIBER.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - PS ND shared queue') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED) +
* Maximum queue depth
MAXDEPTH(100000)
* JMS Publish/Subscribe Default Non-Durable Shared Queue for */
* ConnectionConsumer functionality */
* Create local queue used as the default shared queue by */
* non-durable connection consumers */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.ND.CC.SUBSCRIBER.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - PS ND CC shared q') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED) +
* Maximum queue depth
MAXDEPTH(100000)
* JMS Publish/Subscribe Default Durable Shared Queue */
* Create local queue used as the default shared queue by durable */
* subscribers */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.D.SUBSCRIBER.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - PS D shared queue') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED) +
* Maximum queue depth
MAXDEPTH(100000)
* JMS Publish/Subscribe Default Durable Shared Queue for */
* ConnectionConsumer functionality */
* Create local queue used as the default shared queue by durable */
* connection consumers */
** Create a local queue
DEFINE QLOCAL('SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE') REPLACE +
DESCR('Websphere MQ - JMS Classes - PS D CC shared q') +
* Persistent messages OK
DEFPSIST(YES) +
* Shareable
SHARE DEFSOPT(SHARED) +
* Maximum queue depth
MAXDEPTH(100000)

Similar Messages

  • I have registered for Cloud in my own name but should have used my Business name to reclaim the VAT

    I have registered for Cloud in my own name but should have used my Business name to reclaim the VAT, how can I change my details

    This is an open forum with a mix of program users and Adobe staff, not Adobe support... you need Adobe support
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • How do register for an account with firefox?

    I thought I had registered for Firefox - but it was Mozilla add-nos. No where do I see where I can set up an account with my info for auto-fill and my cell number so I can download Firefox Aurora onto my cell.
    You have a lot of info but it all seems to revert to Mozilla. I get that but I am trying to use you as primary web browser for my pc and cell, but just can't find where to start a Firefox account.
    I thought I was crazy, but I asked around and there are many that can't figure it out either and have told me you all just want to keep your community as is and not let anyone else in? That sound very odd. But it is an odd world.
    Thanks.

    hello, you don't need an account at mozilla to download firefox for your mobile - just get it from the google play store: https://play.google.com/store/apps/details?id=org.mozilla.firefox

  • Registered for a number with unknown reason

    To Whom It May Concern,
    I have been abroad for the past couple of months and recently received an email from AT&T saying my payment could not be processed. As I was reviewing my charges on my AT&T account, I saw that I have another number registered under my name - ***. I have never registered for another number other than the one that I am using and should only be paying for (***). Please help me look into when and how that number came to be registered under my name. I would also like to find out why my payment has failed to process various times.
    Sincerely,
    Alice [edited for privacy-please do not post personal or unique information such as but not limited to full names, employee ID numbers, email addresses, phone numbers, account numbers, etc.]

    Good Afternoon ,
    Thank you for seeking resolution for the billing errors you are experiencing.  I’m sorry that you have to clear this up while being abroad; our Customer Care would be able to resolve this issue.
    Since you are out of country at the moment, if you call the number +1.916.843.4685 (Free from mobile, available 24/7).
    If you have a GoPhone account, you can call Customer Service at 800.901.9878.
    To manage your wireless account digitally, please download the myAT&T app on your phone. Text EASY to 8758 for a link to download the app!
    Thank you,
    Charise

  • Data plug-in for binary data with byte streams of variable length

    Hi there,
    I would like to write a data plug-in to read binary data from file and I'm using DIAdem 10.1.
    Each data set in my file consists of binary data with a fixed structure (readable by using direct access channels) and of a byte stream of variable length. The variable length of each byte stream is coded in the fixed data part.
    Can anyone tell me how my data plug-in must look like to read such kind of data files?
    Many thanks in advance!
    Kind regards,
    Stefan

    Hi Brad,
    thank you for the very quick response!
    I forgot to mention, that the data in the byte stream can actually be ignored, it is no data to be evaluated in DIAdem (it is picture data and the picture size varies from data set to data set).
    So basically, of each data set I would like to read the fixed-structure data (which is the first part of the data set) and discard the variable byte stream (last part of the data set).
    Here is a logical (example) layout of my binary data file:
    | fixedSize-Value1 | fixedSize-Value2 | fixedSize-Value3 (=length of byte stream) | XXXXXXXXXXXXX (byte stream)
    | fixedSize-Value1 | fixedSize-Value2 | fixedSize-Value3 (=length of byte stream) | XXXXXX (byte stream)
    | fixedSize-Value1 | fixedSize-Value2 | fixedSize-Value3 (=length of byte stream) | XXXXXXXXXXXXXXXXXXXX (byte stream)
    What I would like to show in DIAdem is only fixedSize-Value1 and fixedSize-Value2.
    ´
    If I understood right, would it be possible to set the BlockLength of each data set by assigning Block.BlockLength = fixedSize-Value3 and to use Direct Access Channels for reading fixedSize-Value1 and fixedSize-Value2 ?
    Thank you!
    Kind regards,
    Stefan

  • JMS Messages keep on growing for a Topic with non-durable consumers

    I have a JMS Server whose "Messages Current" keeps on growing after every message send to the topic. All the consumers are non-durable. The session is a non-transacted session with Auto Accknowledge parameter. My client does recieve the message, but it does not go down from the "Messages Current" in the WLS console. Also once the server is restarted, the messages go down to 0.
    I am using 9.2 SP2 on a Solaris environment.
    Any insight would be helpful

    It's possible that one or more the subscribers is stalled for some reason and so is not actually receiving and processing messages. This would cause messages to accumulate. You can examine statistics for individual consumers on the console to see if this is an issue.
    Also, there could be a durable subscription on the topic left over from some previous application you used with the topic. There are statistics for these as well.
    Yet another possibility is that the clients are receiving the messages but are failing to acknowledge/commit them. You wrote that the sessions are "auto-acknowledge" but they could accidentally be "transacted". Check to make sure that the first parameter passed to "createSession" is true (it should be false), and that the second parameter is set to auto-acknowledge.
    Finally, if you happen to be using a distributed topic, keep in mind that if one of the topic members is unavailable/crashed/down messages will accumulate on the other distributed topic members until the unavailable member is restarted (at which point they will be forwarded to the restarted member).
    Tom

  • Please suggest driver for microsoft lifecam studio for to work with live stream procaster

    I have microsoft life cam studio using to broadcast live through live stream procastrer. I am using mac mini with mac os lion 64bit.But default driver for this studio cam is not supporting to go live with proper crop and quality settings. Can anyone provide driver for this camera ?

    Hi, no idea really, but perhaps see if this could work for what you want...
    http://www.google.com/url?q=http://www.bensoftware.com/securityspy/&sa=U&ei=QUGH T4z4K4WciQL436yGAw&ved=0CBEQFjAA&usg=AFQjCNEC9fzmWGOiPtM0kRHyzfST3Kh5jQ

  • I can not register for Game center with iphone 4

    When I register with apple ID + eMail I insert country, date of birth but then systems starts again...what can I do???

    Jesse.steptoe0211 wrote:
    No is this what I have to do
    Yes, hotspot is a carrier feature.
    iOS: Understanding Personal Hotspot - Apple Support

  • How do I register for online access with a tablet that doesn't receive text messages ???

    My tablet is on a sub-account and it does not receive text messages.   Verizon told me I would be mailed a PIN number but nothing has came.

    Thank you for the reply.   Would someone please mail me the letter that has the temporary password?    Thank you
    >> Personal information/e-mail reply/headers removed to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • I own an iPod Touch 4g. Now i'm planning to buy iPod Touch 5g. Is it possible for me to register the new one with existing Apple ID so that i can transfer the apps from my existing account to my new Ipod 5g?

    I own an iPod Touch 4g. Now i'm planning to buy iPod Touch 5g. Is it possible for me to register the new iPod with existing Apple ID so that i can transfer the apps from my existing account to my new Ipod 5g?

    There should definitely be no issue. You can register more than one Apple device with the same Apple ID and get the same apps on both devices without having to pay for the apps again.
    Alternatively, if you want all your settings to say the same, do a backup of your old iPod Touch and then whe you receive the new iPod, restore the backup on it and it'll save you the trouble from having to redownload everything.
    Cheers.

  • Hi, I recently got an iPad air. Singed in for new registration with cc details as I had no other option I already own an iPhone and also my husband owns one. Both have same Apple ID to sync with iCloud But after registering for iPad all free are charging

    Hi, I recently got an iPad air. Singed in for new registration with cc details as I had no other option
    I already own an iPhone and also my husband owns one. Both have same Apple ID to sync with iCloud
    But after registering for iPad all my free apps are asking me to purchase those free apps. I have no idea what went
    Wrong, please help.

    You created the same Apple ID with the setup assistant on the new iPad Air - the same Apple ID used for the iTunes and App Store on your iPhone?
    There is no charge for a free app regardless.

  • My daughter has somehow figured out how to register for her own Apple ID but is very underage. She is not giving me the correct info for me to get into her email. She has downloaded some apps that I would not allow. How can I recover her Apple ID info?

    My daughter has somehow figured out how to register for her own Apple ID but she is very underage. She is not giving me the correct info for me to get into her email. She has downloaded some apps that I would not allow. How can I recover her Apple ID info?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • I created an Apple ID for my daughter with her own gmail address, but I want her Apple ID and primary email address to be an iCloud email address. How can I do this? I can't set up an icould email address for her without first creating an Apple ID?

    I have created an Apple ID for my daughter with her own gmail address as the primary email address, but I want her Apple ID and primary email address to be an iCloud email address. How can I do this? I can't set up an icould email address for her without first creating an Apple ID right?
    I'm not good with computers so please explain in simple way...:)
    I also wonder what the best way is to set up accounts for children in a family. I dont want them to be able to purchase apps etc through the parents accounts, also some things we like to share as a family and others we don't want to share. Is there any good. clear, simple explanation from Apple Support about these issues? Or best to go to Apple store and go to genius bar or one to one advise?
    thanks

    You can set up an iCloud account which makes the iCloud email address you choose the Apple ID and thus the login for it:
    https://discussions.apple.com/message/22283348#22283348
    though I have to say I think it's more sensible if the ID is another address, both for security reasons (so people don't know what the login is) and as a contact address from Apple if the account were to stop working and they needed to contact you. So personally I would to to System Preferences, enter the GMail address which is an ID, and then choose a nerw @icloud.com address.
    If she has her own iCloud account she will need either her own computer or her own user account on your Mac to be able to make use of it. You should note that under Apple's terms of use Apple IDs are only available to children of 13 and over.
    As to purchasing apps, this is nothing to do with iCloud: it's iTunes, and the login can be different. So you can all sign into the same iTunes account but have different iCloud accounts. Or she can have her own iTunes account if she is of suitable age (credit card needed for purchasing apps).
    If you have other children you should be aware that any one Mac or device can create only three iCloud accounts - this is tied to the serial number, not the user account, and once reached cannot be bypassed. You can of course sign into an iCloud account created on another device.

  • I use the company's iPad at work that has a different apple id for iCloud than my own personal iPad  at home. How can I change the company's iCloud id to synchronize with my own one?

    I use an iPad 2 at work that has a different apple id for iCloud than my own personal new iPad. How can I change the company's id for iCloud to synchronize with my own personal iPad?

    Go to Settings>iTunes and App Stores and tap the Apple ID listed and sign out and sign in with other ID
    You also may want to go to other places like:
    - Settings>iCloud
    - Settinge>FaceTime
    - Settings>Messages>Send and Receive and change the ID
    It may be best to go to Settings>General>Reset>Erase all Content and Settings and start over again and set up the iPod again with his account/ID

  • I attempt to send an e-mail to an address in my Directory and it comes up in a pink block with a red circled exclamation point at the end. "Clicking" on the circle brings a pop-up saying the address is not registered for iMessages.  How do I register ??

    When I try to address an e-mail to an address in my iPad's Directory, the name comes up inside a pink block with a red circled exclamation point at the right hand end.  "Clicking" on the red circle, gives me a pop-up saying the address is not registered for an iMessage.  How do I register my Directory addresses for an iMessage??

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
     Cheers, Tom

Maybe you are looking for

  • Problem BackUping with iCloud

    Hi I am having problem with iCloud. I turned iCloud on for backuping the contacts, and all of a sudden I lost all of my contacts! how should I recover them now?!

  • Help!!Custom app. using dreamweaver

    Let me start off by saying I am some what of a noob to what I am trying to do here so bare with me. What im trying to do is make a shop control app. for my company using dreamweaver and excel. What I would like to do (but not sure if it's possible) i

  • Ipod touch not sorting track by TSOT

    Hi everyone, I'm experiencing a problem with my iPod touch. I have some Japanese music in mp3 quite well tagged. Uploading it on my iPod with Japanese locale I have a proper sorting for artist based on TSOP tags, but I found no ways to let it work wh

  • Find does not function

    So I tried to import all of my beta 4.1 data into 1.0, and (mostly) succeeded - although it required that I move some files around by hand to replicate the "shoot" structure in folders. The problem is that now "Find" doesn't work. It will only find t

  • Insert/import a texture?

    Hello, I am a new user to Mac's and have just discovered the wonder of pages 06. Previously I was attempting all of my work in a Windows machine using MS Word from office 2000. The one item I dearly miss from word and do not know if it is available i