0 Replies Latest reply on Jun 1, 2005 6:52 PM by janoboss

    I have a problem with template

    janoboss

      that is my code in de file *.xml.vm

      ------------------------------------------------------------------------------


      #if($TopicName)

      #end

      <depends optional-attribute-name="DestinationManager">$DestinationManager

      #if($SecurityManager)
      <depends optional-attribute-name="SecurityManager">$SecurityManager
      #end

      #if($SecurityRoles)



      #foreach($role in $SecurityRoles)
      <role name="#firstToken($role ':')" #ifDefReplace($role "read" 'read="true"') #ifDefReplace($role "write" 'write="true"') #ifDefReplace($role "create" 'create="true"')/>
      #end



      #end



      that is my code in de file template.xml

      ------------------------------------------------------------------------------

      <template-config template="vm/jms-queue.xml.vm" extension="-service.xml">
      <property-list>
      <!-- if type not specified, java.lang.String is assumed -->
      <!-- a value must be supplied at runtime, or an exception will be thrown -->




      <!-- if a value is not supplied at runtime, the default will be used -->


      The ObjectName of the DestinationManager factory to be used

      <default-value>jboss.mq:service=DestinationManager</default-value>

      </property-list>
      </template-config>

      -----------------------------------------------------------------------------

      my proble is the following:

      Exception : java.lang.Exception: Required property missing: 'TopicName' of type 'java.lang.String'


      I want to make Queue and Topic, but I have a the avobe proble, the type of property TopicName. Please Help ME!!

      see soon