How to add properties in JMS

Hello,
i have created a proxy and business services that send JMS to a queue. But i don't find how to set a new jms perpertie.
Thanks for your help.

Have you tried the Transport Headers action?
http://edocs.bea.com/alsb/docs30/consolehelp/proxyactions.html#wp1315156

Similar Messages

  • How to add properties to Channels in Portal Server 7

    hi,
    When in the Portal Server Console in the Manage Containers and Channels section I can easily edit the properties for the configured items. Now I want to add a property to, let's say, the SearchProvider or the preconfigured Search of the DeveloperSample portal. How would I go about that? PS6 had a nice big "New" button on the property pages to add properties, how can I do the same with PS7?
    What I want to do is add a property to the Search that I can then access from within the jsp files, but that can easily be set and changed from the server console.
    any hints are appreciated ;)
    thanks!

    The "New" button was removed from the UI for the console in PS 7 to avoid confusion caused by adding properties to channels that are then not referenced by the code for the channel. The only way that a named property can be used is if the property is referenced by the code for the Provider, e.g., in the Java code or in the JSP. When the code is modified to start referencing a new property, the intent is that the developer also modify the <Provider> definition in the display profile to also list a default value for that property. Then the property will show up in the property edit page for channels created from that Provider.
    Editing of the Provider definition requires actually editing the display profile XML.
    HTH.
    Tom

  • How to add properties to a custom JSF component?

    Hello, everybody!
    I've just developed my first custom JSF component. It's a data pager and it is working pretty well. But now I want to be able to use some of it attributes in my backing beans at runtime. I mean, I want to bind it to component in the JSF page. It already has a binding attribute in the tld file, but I want to be able to accesss two values that the renderer of my custom component calculate inside it, which would relieve me from calculating these values manually in the backing beans. So, I would like to know how to make these values external to the component.
    By now this is my custom pager class:
    import javax.faces.component.UICommand;
    public class UIPaginadorDados extends UICommand
    }You can see that it has no logic because all the logic is in the renderer class:
    import javax.faces.render.Renderer;
    public class PaginadorDadosRenderer extends Renderer
        // logic here
    }As I said I want to be able to do the following in my backing beans:
    private UIPaginadorDados pager = new UIPaginadorDados();
    // and later...
    pager.getCurrentPage();
    pager.getPageCount();In the JSF page:
    // I already can do this, because I have a binding attribute
    <urca:paginadorDados binding="#{backingBean.pager}" />I suppose that I'll have to create the properties getCurrentPage() and getPageCount() in the component class, UIPaginadorDados, but I don't know how to get the values to the properties from the renderer class. I don't even know if this is how I should do it.
    So I would appreciate a lot your help about this subject.
    Thank you.
    Marcos

    Marcos_AntonioPS wrote:
    RaymondDeCampo wrote:
    I neglected to mention: do not forget to implement the methods in StateHolder to preserve the properties you added to your component.Hello, Raymond. Could you elaborate a little more on that? If you could give a short example, it would be helpful.
    MarcosNo problem. I have already found out how.
    Thank you very much, Raymond.
    Marcos

  • How To Add Properties To PDF file e.g. Title

    After I have added, say, Title to an existing pdf file, I was unable to save it. I am prompted to save it with a different file name or a different folder. Appreciate it for any advice. Joe

    Joe, after going around in circles for a week trying to discover why I sometimes could save and other times not, I figured it out. It might be the same problem you are having. Believe it or not, I found that it depended on how I opened the PDF file that I wanted to write into (in my case, I had form fields in a "fillable" form). If I opened the file by pulling down the FILE menu on the Adobe Reader screen and clicking on OPEN, I could write into it and save it again. But if I opened the file by clicking on its name in some menu, so that the computer had to find which application could read that file and then open Adobe, when I wanted to save again after writing something in, I got the same error message that you described. I had no such problem on my wife's Mac. So I concluded it was a bug (surprise, surprise) in VISTA. So if you have VISTA (especially Home Premium), we might have found your problem. As for a solution; if you find one, please let me know (Fjlee(a)comcast.net) Good luck. Fred

  • How to add a field in the step Variables

    Hi guys, how to add a Field array to the Step Variables?

    Do you mean how to add properties to a Step Type?
    Steps are instances of Step Types so you can not add properties. If you need to add property to say a Numeric Test Limit step type, then you have to create a Custom Step Type based on a Numeric Test Limit Step Type then add your additional properties. Check out the TestStand documentation for Custom Steps Type.
    Depending on your needs you might beable to use the Add Attributes to meet your requirements, depends on what TestStand version you are using. This could save you the bother of having to create your own step type.
    Regards
    Ray Farmer

  • How to add the property file..ie(default.properties) to a webdynpro project

    Hi All,
    How to add the property file..ie(default.properties) to a webdynpro project.
    I urgently require the solution. Kindly get it for me.
    Regards
    DK

    Hi DK,
    this is described in the second Web Dynpro Java Tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e">creating an Extended Web Dynpro Application</a>
    Regards, Bertram

  • How to add an out-of-box JMS modules?

    Hi,
    I am using WebLogic Server 10.3. For my project, I need to add some out-of-box JMS modules so that there is no need to ask the administrators to create and configure them. I wonder how I can achieve this. Is it good enough just to make changes on the config/config.xml and add a corresponding *-jms.xml?
    Thank you,
    Yang

    Here's a more sophisticated version of the script Kats supplied. It is a bit more flexible, and works around issues that can arise if too many changes are attempted within the same edit session.
    # Sample WLST code for creating a simple WebLogic JMS
    # configuration using WLST.
    # This script sets up two JMS servers on the same
    # WebLogic server, each with a queue and a topic.
    import sys
    from java.lang import System
    # A method for finding an mbean.
    # It uses "cd()" rather than getMBean() as "cd()" works in more cases.
    def findMBean(path):
        savePWD=pwd()
        try:
            cd(path)
            value=cmo
            cd(savePWD)
            return value
        except:
            print ' --- Please ignore the previous *No stack trace available.* message.'
            cd(savePWD)
            return None
    # A method for creating a JMS server.
    def findOrCreateJMSServer(serverMBean, jmsServerName):
        jmsServerMBean = findMBean('JMSServers/'+jmsServerName)
        if jmsServerMBean is not None:
            print ' --- JMS Server '+jmsServerName+' already exists.'
            return jmsServerMBean
        startEdit()
        jmsServerMBean = create(jmsServerName,'JMSServer')
        jmsServerMBean.addTarget(serverMBean)
        save()
        activate(block="true")
        print ' --- JMS Server '+jmsServerName+' created.'
        return jmsServerMBean
    # A method for creating a JMS module for hosting JMS config,
    # also creates a subdeployment named 'TheOne' for the JMS server.
    # The module target is set to be the same target that's used
    # for the passed in JMS server.
    def findOrCreateJMSModule(jmsServerMBean, moduleName):
        jmsResource = findMBean('JMSSystemResources/'+moduleName)
        if jmsResource is not None:
            print ' --- Module '+moduleName+' already exists.'
            return jmsResource
        startEdit()
        jmsResource = create(moduleName,'JMSSystemResource')
        jmsResource.addTarget(jmsServerMBean.getTarget())
        subD = jmsResource.createSubDeployment('TheOne')
        subD.addTarget(jmsServerMBean)
        save()
        activate(block="true")
        print ' --- Module '+moduleName+' created.'
        return jmsResource
    # A method for creating a JMS destination.   Pass 'Queue' or 'Topic'
    # for destType.  This method assumes subdeployment named 'TheOne'.
    def findOrCreateJMSDest(destType, jmsModule, destName, destJNDIName):
        # see if dest already exists
        moduleName=jmsModule.getName()
        longname='JMSSystemResources/'+moduleName+'/JMSResource/'+moduleName
        if (destType == 'Queue'):
          longname+='/Queues/'+destName
        elif (destType == 'Topic'):
          longname+='/Topics/'+destName
        else:
          raise Exception('Unknown dest type '+destType)
        jmsDest = findMBean(longname)
        if jmsDest is not None:
          print ' --- Destination '+destName+' already exists.'
          return jmsDest
        # dest does not exist, create it
        startEdit()
        if (destType == 'Queue'):
          jmsDest = jmsModule.getJMSResource().createQueue(destName)
        else:
          jmsDest = jmsModule.getJMSResource().createTopic(destName)
        jmsDest.setJNDIName(destJNDIName)
        jmsDest.setSubDeploymentName('TheOne')
        save()
        activate(block="true")
        print ' --- Destination '+destName+' created.'
        return jmsDest
    # Connect to a WebLogic Admin Server. When username, password
    # and URL are not passed as arguments, connect will prompt
    # for these values.
    #connect('system','mypassword','t3://mymachine:7001')
    connect()
    edit() # Navigate to the root of the config MBean tree.
    print ' --- Enter the name of the WLS server that will host the JMS servers.'
    print ' --- Choices: ---'
    ls('Servers')
    print ' ----------------'
    print ' --- --> ',
    wlServerName=sys.stdin.readline().strip()
    svMBean=findMBean("Servers/"+wlServerName)
    if svMBean is None:
        print ' --- WebLogic server '+wlServerName+' not found.'
        stopExecution(' --- Cannot find the WebLogic myserver '+wlServerName)
    try:
          jmsServerMBean = findOrCreateJMSServer(svMBean, 'MyJMSServer')
          jmsModule = findOrCreateJMSModule(jmsServerMBean, 'MyJMSModule')
          findOrCreateJMSDest('Queue', jmsModule, 'MyQueue', 'MyQueue')
          findOrCreateJMSDest('Topic', jmsModule, 'MyTopic', 'MyTopic')
        print ' --- Configuration complete.'
    except:
        dumpStack()
        print ' --- Error, admin server log may contain details!!!'
        stopEdit('y')

  • I have a main fillable form.  From this main form the user may need additional forms.  I want to create checkboxes that link to these additional forms.  This part I believe I know how to do (Properties/Actions/Open a File).  What I want to add is a javasc

    I have a main fillable form.  From this main form the user may need additional forms.  I want to create checkboxes that link to these additional forms.  This part I believe I know how to do (Properties/Actions/Open a File).  What I want to add is a javascript to the checkbox that when the new file (or form) opens some of the data (the repetitive data like name, date, etc.) from the main form is placed into the form opened where the same form fields exist.  Is this possible?

    Yes, but then it all has to be done using a script. You can't use the built-in Open A File command.

  • How can add some suggested value to a propert on a Declarative Component,

    how can add some suggested value to a propert on a Declarative Component?

    kenyatta,
    Where you want to add the value ?
    If you want put some UIComponent(Value) to your declarative Component than follow my blog ( http://jneelmani.blogspot.com/2009/02/11g-how-to-create-declarative-component.html ) and add your value in STEP-5.
    You can watch live-demo at http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html
    --Neelmani Jaiswal
    Edited by: Neelmani Jaiswal on Mar 23, 2009 11:11 AM

  • Button Skin: How to add button properties (over, down,up)

    Hi all,
         I made a custom button "skin" because I want my buttons to be images with NO box or border around it and it works great, but I don't know how to add the button functionality. ex. In "over" state buttons tend to light up and in "down" state they tend to get darker. Anyone know how to apply this to an image??? below is my code. Thanks guys!!
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx" width="64" height="64">
        <fx:Metadata>
            [HostComponent("spark.components.Button")]
        </fx:Metadata>
        <s:states>
            <s:State name="over" />
            <s:State name="down" />
            <s:State name="up" />
            <s:State name="disabled" />
        </s:states>   
        <mx:Image source="@Embed(source='assets/images/lightbulb.png')"/>
    </s:SparkSkin>

    You could try something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                 width="64" height="64">
        <fx:Metadata>
            [HostComponent("spark.components.Button")]
        </fx:Metadata>
        <s:states>
            <s:State name="over" />
            <s:State name="down" />
            <s:State name="up" />
            <s:State name="disabled" />
        </s:states>   
        <mx:Image source="@Embed('assets/images/lightbulb.png')"
                  source.over="@Embed('assets/images/lightbulb_lit.png')"
                  source.down="@Embed('assets/images/lightbulb_dark.png')"
                  source.disabled="@Embed('assets/images/candle.png')" />
    </s:SparkSkin>
    Peter

  • How to add and hide more fields in PPM?

    Hello,
    Im new to this tool and I would like to know how to add and/or hide customized fields. I've only know that Its somewhere under SPRO > Global Enhancements to Project Elements but Im a little bit lost there. Can somebody explain to me with details how to do this and also, does this need a specific access of developer to do this customization?
    As this is a basic need for all, anybody that is new on the tool and search for this will have a good reference on this thread.
    Thanks in advance.
    Many regards!

    The path is SPRO > Global Enhancements to Project Elements > Setup field control.Herein,once you select the field control you may proceed towards defining the conditions that influence the same. A step by step approach is explained in the below article  that will aid you to change properties of custom fields.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/3053cee2-4bca-2d10-38ae-efff39ad248e
    Regards,
    Pradeepkumar Haragoldavar

  • How to add two different database connections on Model

    Hi,
    In my application, I need to create View Objects on different databases. So I need to add two different database connections on the Model.
    But it seems like Model can be connected to only one database. I tried adding another project to add the second db connection. But after I created a read-only View Object in the second project, it didn't generate corresponding data control in the Data Controls panel.
    Could anyone help me on this?
    Thanks!

    Do you mean adding the second project folder in ViewController->Project Properties->Libraries and Classpath?Yes, either that or: ViewController -> Project Properties -> Dependencies
    And I didn't see the first Model project in the ViewController classpath. Otherwise it wouldn't work. The first model project IS in 'classpath'. Here's how:
    ViewController -> Project Properties -> Dependencies
    I tried this and recreated the View Object. Still didn't generate the datacontrol. No idea why you had to recreate the VO.
    Is your VO in an application module inside the SECOND project?
    After you are sure that everything is in the ViewController's classpath, just try restarting JDeveloper.
    This is very basic. has to work.

  • How to display properties of dimension on the input form and report in bpc

    Dear Expert,
    Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
    thanks so much
    hungth

    Hi Hungh,
    If your are using BPC 10 with EPM add in client, you can use the function:
    EPMDimensionProperty ()
    This function retrieves the properties of a specified dimension in a specified cell range.
    Thanks, Safa

  • How to add a class in a project?

    Hello!
    i'm a beginner in developing and i don't know how to add a class in a project in Sun Java Wireless toolkit 2.5.2...
    The name of my project is essai2 and i already put a class, LogoMIDlet and now i want to put my new class ComBasique, how can i do that?
    and do you know if there is a program for bluetooth in order to connect my Nokia 6680 to another device that have a bluetooth?
    thanks a lot for your answer!
    Sophie

    how to change the class name after the project is created.In NetBeans, right click the class name either in the declaration or constructor, select Refactor --> Rename... and follow the dialog.
    You can refactor --> rename anything that is not in a guarded block. For those, there are options via the properties window.
    db

  • How to add a jar files to a project in JDeveloper 10g?

    I had created a sample appln using below imports
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    The above packages are available in frmall.jar only know?
    I tried to add the above jar in JDeveloper IDE (10.1.2.1.0).
    But i can't fild a exact menu in my iDE?
    How to add the above jar through menu?
    Thanks

    1. Select Tools>Project Properties.
    2. In Project properties window select Libraries.
    3. Add a project JAR with Add Jar/Zip button.

Maybe you are looking for

  • Restore Exchange 2007 SP3 to Windows 2008 R2 from Windows 2003

    Perhaps I'm being dense, but I had Exchange 2007 SP3 installed on a Windows 2003 Server, and I've used "setup /mode:recoverserver" to restore it to a Windows 2008 R2 server... how do I restore the databases which I backed up with the Windows backup t

  • Photoshop CS5 and CS6 not opening after Windows 7 update

    Hi there! I have my Mac on repair so I have to use Photoshop on a very old Windows 7 laptop of mine (the first PS licence I bought was for PS CS4 Win then extended to CS5 during grace period) It always worked fine (slow but fine ) since today. I was

  • Live Charts and Gauges in Interactive Reporting

    Hi All, Im trying to create a Live chart and a Gauge for my dashboard in IR 11.1.1.3 Ver. I see the them in the design mode.. but when i try to add the FACT value it doesnt allow me to do it. Even if i try to see the report in the run mode i get blan

  • Import from Iphoto

    I just purchased and installed Aperture 3. I imported all the photos is Iphoto which were about 1,636 images. The Apeture software is taking a very long time building the Faces Thumbnails. It will process 5 to 6 images then stops. It will take an ent

  • I want to compile apps schema in oracle applications production.

    Hi, Is there any care that must be taken to compile apps schema using adadmin in production. With Regards GNVMK