You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Freeman Fang <fr...@gmail.com> on 2009/02/05 10:01:06 UTC

Re: SMX3.3 Writing a BC

Hubschneider Joerg (CI/TMP) wrote:
> Hello servicemix guys,
>
> I want to write a Binding Component with a cxf-se-wsdl-first SU
> provider. 
> Is there a nice example which helps a newbie for a rapid startup?
>
>   
I'm not sure I understand what you want here.
May I ask why you need write a Binding Component yourself, we already 
have cxf binding component which also support asynchronous communication.
Freeman
> In the second step, I want to provide asynchronous communication to the
> BC. Is there a useful pattern to identify a SE consumer at the enriched
> async BC provider side for a BC callback to a dynamically created  (..
> or pooled) SE "Listener" interface/portType consumer at the async
> response?
>
> Thanks for any ideas to such kind of (real world) playground.
> Joerg
>
>
>   


AW: AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hallo Lars,
I have stripped down my intend a to a simple setup:

1. I have seeded a starting pom.xml in a new directory (i.e.) "t4"

As follows:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.servicemix</groupId>
        <artifactId>samples</artifactId>
        <version>3.3</version>
    </parent>
    <groupId>my.snmp.bc.test.t4</groupId>
    <artifactId>my-comp-test</artifactId>
    <name>MY :: Samples :: my Comp Test</name>
    <version>1.0-SNAPSHOT</version>
    <packaging>pom</packaging>
    
    <modules>
    </modules>
    
    <!-- Add ServiceMix repositories for snaphots and releases -->
    <pluginRepositories>
      <pluginRepository>
        <id>apache.snapshots</id>
        <name>Apache Snapshots Repository</name>
        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
        <releases>
           <enabled>false</enabled>
        </releases>
      </pluginRepository>
      <pluginRepository>
        <id>apache.incubating</id>
        <name>Apache Incubating Repository</name>
        <url>http://people.apache.org/repo/m2-incubating-repository</url>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
        <releases>
           <enabled>true</enabled>
        </releases>
      </pluginRepository>
    </pluginRepositories>
    <repositories>
      <repository>
        <id>apache.snapshots</id>
        <name>Apache Snapshots Repository</name>
        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
        <releases>
           <enabled>false</enabled>
        </releases>
      </repository>
      <repository>
        <id>apache.incubating</id>
        <name>Apache Incubating Repository</name>
        <url>http://people.apache.org/repo/m2-incubating-repository</url>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
        <releases>
           <enabled>true</enabled>
        </releases>
      </repository>
    </repositories>
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.servicemix.tooling</groupId>
                <artifactId>jbi-maven-plugin</artifactId>
                <extensions>true</extensions>
            </plugin>
        </plugins>
    </build>
</project>

Inside "t4", I have generated (out of the box) a SU with cxf-se-wsdl-first
>> smx-arch su cxf-se-wsdl-first
..and a BC:
>> smx-arch bc

The starting question is:
How can I reference the cxf-wsdl-first service implementation 
(here: PersonImpl) inside the my-bx project MyComponent.java class
to act as an ProviderEndpoint.

In the method: MyComponent::getResolvedEPR(ServiceEndpoint ep) in the generated code a MyProviderEndpoint is created. Is it possible to call there the ServiceUnit-Constructor?     
  MyProviderEndpoint(ServiceUnit serviceUnit, QName service, String endpoint)
... And how do I define the SU and the service Qname?

(the my-cxf-se-wsdl-first module is added to the dependencies!)

Any help would be nice!

Thanks.
Regards
Joerg




-----Ursprüngliche Nachricht-----
Von: Lars Heinemann [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 20:35
An: dev@servicemix.apache.org
Betreff: Re: AW: AW: SMX3.3 Writing a BC

Hard to say, Joerg.
Please open up a JIRA and attach your project source on it, so we can
look at it.

Regards
Lars


Hubschneider Joerg (CI/TMP) schrieb:
> Hi Lars,
> I now have done the following: 
> 1. WSDL/XSD files moved to the projects own src/main/resources
> 2. Added a build plugin part to generate the cxf java stub classes from my WSDLs.
> 3. "mvn install" does now generate a installer.zip including all the cxf dependency jars inlusive my-snmp-bc-1.0-SNAPSHOT.jar.
>
> If I now drop this BC into the hotdeploy directory servciemix does generate warnings like the following:
>   
> WARN  - InstallerMBeanImpl             - Unable to add File C:\java\apache-servicemix-3.3\data\smx\c
> omponents\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7.jar to class path as it doesn't exist:
> C:\java\apache-servicemix-3.3\data\smx\components\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7
> .jar
> <<<
>
> But if I have look into the data/smx/components/my-snmp-bc/version_1/lib directory contains all the libs are there, round about 12MB. Is the warning generated before unzipping the installer.zip?
>
> The hotdeploy finished with no Errors but it seems that the  initializaion does not effect my SnmpManagerService implementation. I have put some System.out.println() commands inside the activate lifeCycle methods, but I can't recognize any output.
>   
> INFO  - ComponentMBeanImpl             - Starting component: my-snmp-bc
> INFO  - ComponentMBeanImpl             - Initializing component: my-snmp-bc
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  my
> -snmp-bc-1.0-SNAPSHOT-installer.zip
> <<<<
> Is there any issue with the xbean referencing? I haven't got understand this mechanism!
>
> Does it make sense to send you some source?
> Thanks in advance
> Cheers Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 13:54
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Ah, ok...now you clarified it ;)
> The tutorial you are doing is not up2date so you may have several problems.
> Just search the mailing list/forum or ask here if you run into serious problems.
>
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>   
>> Hi Lars,
>> Confusion was not my intention!
>> I want to speak from within the ESB to/with SNMP agents outside the ESB via the SNMP-BC!
>> I'm just working along the servicemix HowTo:
>> http://servicemix.apache.org/hello-world-bc.html
>> And struggling with the exceptions.
>> ... and our network, ... it was temporarily down.
>> Cheers Joerg
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 13:05
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> I am getting confused it seems.
>> You want to control stuff inside the ESB via SNMP from outside the ESB?
>> If yes then you should consider using a SNMP to JMX bridge. I think
>> there is already something
>> like this available, but don't ask me about details.
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>     
>>> Hi Lars,
>>> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
>>> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>>>
>>> So, if you can support me with servicemix things, it would be great ;-)
>>> Cheers Joerg
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 11:41
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> Joerg,
>>>
>>> in my example I only use UDP/TCP for grabbing the values from a snmp
>>> enabled device.
>>> It seems to me now that you want to use a cxf webservice to do actions
>>> on a snmp agent. Never did that before but is it really needed to use
>>> a webservice for that? I fear I have to read some detailed spec about
>>> this topic first before further discussing that ;)
>>>
>>> Regards
>>> Lars
>>>
>>>
>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>       
>>>> Hi Lars,
>>>> Thanks for your response,
>>>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>>>> SnmpManager, SnmpManagerListener(for async com)
>>>> SnmpTrapListener and a optional SnmpTrapRouter.
>>>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>>>> Does this help to understand?
>>>> Cheers
>>>> joerg
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>
>>>> Joerg,
>>>>
>>>> I am not sure if I got what you intend to do.
>>>> It seems to me that you are working on some kind of SNMP - Webservice
>>>> bridge, right?
>>>> Maybe you could explain to us a bit more detailed what exactly has to
>>>> be done to have support for receiving traps or doing GETS ?
>>>> I am not that familiar with the snmp protocol so I only did this
>>>> simple OID polling.
>>>>
>>>> Regards
>>>> Lars
>>>>
>>>>
>>>>
>>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>>         
>>>>> Hi Lars,
>>>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>>>
>>>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>>>
>>>>> Kind regrads
>>>>> joerg
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>>>> An: dev@servicemix.apache.org
>>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>>
>>>>> I agree.
>>>>>
>>>>> Jörg, it would be good to extend the existing servicemix component. If
>>>>> you are willed to share your work with the community then you are
>>>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>>>> apply them.
>>>>>
>>>>> Regards
>>>>> Lars
>>>>>
>>>>>
>>>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>>>           
>>>>>> Hi,
>>>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>>>> and if you want you can provide patch so that other guys can benefit from
>>>>>> your work. :-)
>>>>>> Regards
>>>>>> Freeman
>>>>>>
>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>             
>>>>>>> Hello Freemann
>>>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>>>> SNMP over WebServices inside a ESB.
>>>>>>> OK, I hope my intention is more clear.
>>>>>>> Kind regards
>>>>>>> Joerg
>>>>>>>
>>>>>>>
>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>>>> Februar 2009 10:01
>>>>>>> An: dev@servicemix.apache.org
>>>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>>>
>>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> Hello servicemix guys,
>>>>>>>>
>>>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>>>> startup?
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> I'm not sure I understand what you want here.
>>>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>>>> cxf binding component which also support asynchronous communication.
>>>>>>> Freeman
>>>>>>>
>>>>>>>               
>>>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>>>> response?
>>>>>>>>
>>>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>>>> Joerg
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>>
>>>>>>>               
>>>>>>             
>>>>>
>>>>> --
>>>>> http://lhein.blogspot.com
>>>>>
>>>>>           
>>>>
>>>> --
>>>> http://lhein.blogspot.com
>>>>
>>>>         
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>>       
>>
>> --
>> http://lhein.blogspot.com
>>
>>     
>
>
>
>   


Re: AW: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
Hard to say, Joerg.
Please open up a JIRA and attach your project source on it, so we can
look at it.

Regards
Lars


Hubschneider Joerg (CI/TMP) schrieb:
> Hi Lars,
> I now have done the following: 
> 1. WSDL/XSD files moved to the projects own src/main/resources
> 2. Added a build plugin part to generate the cxf java stub classes from my WSDLs.
> 3. "mvn install" does now generate a installer.zip including all the cxf dependency jars inlusive my-snmp-bc-1.0-SNAPSHOT.jar.
>
> If I now drop this BC into the hotdeploy directory servciemix does generate warnings like the following:
>   
> WARN  - InstallerMBeanImpl             - Unable to add File C:\java\apache-servicemix-3.3\data\smx\c
> omponents\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7.jar to class path as it doesn't exist:
> C:\java\apache-servicemix-3.3\data\smx\components\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7
> .jar
> <<<
>
> But if I have look into the data/smx/components/my-snmp-bc/version_1/lib directory contains all the libs are there, round about 12MB. Is the warning generated before unzipping the installer.zip?
>
> The hotdeploy finished with no Errors but it seems that the  initializaion does not effect my SnmpManagerService implementation. I have put some System.out.println() commands inside the activate lifeCycle methods, but I can't recognize any output.
>   
> INFO  - ComponentMBeanImpl             - Starting component: my-snmp-bc
> INFO  - ComponentMBeanImpl             - Initializing component: my-snmp-bc
> INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  my
> -snmp-bc-1.0-SNAPSHOT-installer.zip
> <<<<
> Is there any issue with the xbean referencing? I haven't got understand this mechanism!
>
> Does it make sense to send you some source?
> Thanks in advance
> Cheers Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 13:54
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Ah, ok...now you clarified it ;)
> The tutorial you are doing is not up2date so you may have several problems.
> Just search the mailing list/forum or ask here if you run into serious problems.
>
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>   
>> Hi Lars,
>> Confusion was not my intention!
>> I want to speak from within the ESB to/with SNMP agents outside the ESB via the SNMP-BC!
>> I'm just working along the servicemix HowTo:
>> http://servicemix.apache.org/hello-world-bc.html
>> And struggling with the exceptions.
>> ... and our network, ... it was temporarily down.
>> Cheers Joerg
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 13:05
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> I am getting confused it seems.
>> You want to control stuff inside the ESB via SNMP from outside the ESB?
>> If yes then you should consider using a SNMP to JMX bridge. I think
>> there is already something
>> like this available, but don't ask me about details.
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>     
>>> Hi Lars,
>>> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
>>> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>>>
>>> So, if you can support me with servicemix things, it would be great ;-)
>>> Cheers Joerg
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 11:41
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> Joerg,
>>>
>>> in my example I only use UDP/TCP for grabbing the values from a snmp
>>> enabled device.
>>> It seems to me now that you want to use a cxf webservice to do actions
>>> on a snmp agent. Never did that before but is it really needed to use
>>> a webservice for that? I fear I have to read some detailed spec about
>>> this topic first before further discussing that ;)
>>>
>>> Regards
>>> Lars
>>>
>>>
>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>       
>>>> Hi Lars,
>>>> Thanks for your response,
>>>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>>>> SnmpManager, SnmpManagerListener(for async com)
>>>> SnmpTrapListener and a optional SnmpTrapRouter.
>>>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>>>> Does this help to understand?
>>>> Cheers
>>>> joerg
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>
>>>> Joerg,
>>>>
>>>> I am not sure if I got what you intend to do.
>>>> It seems to me that you are working on some kind of SNMP - Webservice
>>>> bridge, right?
>>>> Maybe you could explain to us a bit more detailed what exactly has to
>>>> be done to have support for receiving traps or doing GETS ?
>>>> I am not that familiar with the snmp protocol so I only did this
>>>> simple OID polling.
>>>>
>>>> Regards
>>>> Lars
>>>>
>>>>
>>>>
>>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>>         
>>>>> Hi Lars,
>>>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>>>
>>>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>>>
>>>>> Kind regrads
>>>>> joerg
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>>>> An: dev@servicemix.apache.org
>>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>>
>>>>> I agree.
>>>>>
>>>>> Jörg, it would be good to extend the existing servicemix component. If
>>>>> you are willed to share your work with the community then you are
>>>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>>>> apply them.
>>>>>
>>>>> Regards
>>>>> Lars
>>>>>
>>>>>
>>>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>>>           
>>>>>> Hi,
>>>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>>>> and if you want you can provide patch so that other guys can benefit from
>>>>>> your work. :-)
>>>>>> Regards
>>>>>> Freeman
>>>>>>
>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>             
>>>>>>> Hello Freemann
>>>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>>>> SNMP over WebServices inside a ESB.
>>>>>>> OK, I hope my intention is more clear.
>>>>>>> Kind regards
>>>>>>> Joerg
>>>>>>>
>>>>>>>
>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>>>> Februar 2009 10:01
>>>>>>> An: dev@servicemix.apache.org
>>>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>>>
>>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>>
>>>>>>>               
>>>>>>>> Hello servicemix guys,
>>>>>>>>
>>>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>>>> startup?
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> I'm not sure I understand what you want here.
>>>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>>>> cxf binding component which also support asynchronous communication.
>>>>>>> Freeman
>>>>>>>
>>>>>>>               
>>>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>>>> response?
>>>>>>>>
>>>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>>>> Joerg
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>>
>>>>>>>               
>>>>>>             
>>>>>
>>>>> --
>>>>> http://lhein.blogspot.com
>>>>>
>>>>>           
>>>>
>>>> --
>>>> http://lhein.blogspot.com
>>>>
>>>>         
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>>       
>>
>> --
>> http://lhein.blogspot.com
>>
>>     
>
>
>
>   


AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hi Lars,
I now have done the following: 
1. WSDL/XSD files moved to the projects own src/main/resources
2. Added a build plugin part to generate the cxf java stub classes from my WSDLs.
3. "mvn install" does now generate a installer.zip including all the cxf dependency jars inlusive my-snmp-bc-1.0-SNAPSHOT.jar.

If I now drop this BC into the hotdeploy directory servciemix does generate warnings like the following:
>>
WARN  - InstallerMBeanImpl             - Unable to add File C:\java\apache-servicemix-3.3\data\smx\c
omponents\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7.jar to class path as it doesn't exist:
C:\java\apache-servicemix-3.3\data\smx\components\my-snmp-bc\version_1\lib\cxf-rt-bindings-jbi-2.0.7
.jar
<<<

But if I have look into the data/smx/components/my-snmp-bc/version_1/lib directory contains all the libs are there, round about 12MB. Is the warning generated before unzipping the installer.zip?

The hotdeploy finished with no Errors but it seems that the  initializaion does not effect my SnmpManagerService implementation. I have put some System.out.println() commands inside the activate lifeCycle methods, but I can't recognize any output.
>>>
INFO  - ComponentMBeanImpl             - Starting component: my-snmp-bc
INFO  - ComponentMBeanImpl             - Initializing component: my-snmp-bc
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  my
-snmp-bc-1.0-SNAPSHOT-installer.zip
<<<<
Is there any issue with the xbean referencing? I haven't got understand this mechanism!

Does it make sense to send you some source?
Thanks in advance
Cheers Joerg

-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 13:54
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

Ah, ok...now you clarified it ;)
The tutorial you are doing is not up2date so you may have several problems.
Just search the mailing list/forum or ask here if you run into serious problems.

Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> Confusion was not my intention!
> I want to speak from within the ESB to/with SNMP agents outside the ESB via the SNMP-BC!
> I'm just working along the servicemix HowTo:
> http://servicemix.apache.org/hello-world-bc.html
> And struggling with the exceptions.
> ... and our network, ... it was temporarily down.
> Cheers Joerg
>
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 13:05
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> I am getting confused it seems.
> You want to control stuff inside the ESB via SNMP from outside the ESB?
> If yes then you should consider using a SNMP to JMX bridge. I think
> there is already something
> like this available, but don't ask me about details.
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
>> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>>
>> So, if you can support me with servicemix things, it would be great ;-)
>> Cheers Joerg
>>
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 11:41
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Joerg,
>>
>> in my example I only use UDP/TCP for grabbing the values from a snmp
>> enabled device.
>> It seems to me now that you want to use a cxf webservice to do actions
>> on a snmp agent. Never did that before but is it really needed to use
>> a webservice for that? I fear I have to read some detailed spec about
>> this topic first before further discussing that ;)
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>> Hi Lars,
>>> Thanks for your response,
>>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>>> SnmpManager, SnmpManagerListener(for async com)
>>> SnmpTrapListener and a optional SnmpTrapRouter.
>>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>>> Does this help to understand?
>>> Cheers
>>> joerg
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> Joerg,
>>>
>>> I am not sure if I got what you intend to do.
>>> It seems to me that you are working on some kind of SNMP - Webservice
>>> bridge, right?
>>> Maybe you could explain to us a bit more detailed what exactly has to
>>> be done to have support for receiving traps or doing GETS ?
>>> I am not that familiar with the snmp protocol so I only did this
>>> simple OID polling.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>>
>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>> Hi Lars,
>>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>>
>>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>>
>>>> Kind regrads
>>>> joerg
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>
>>>> I agree.
>>>>
>>>> Jörg, it would be good to extend the existing servicemix component. If
>>>> you are willed to share your work with the community then you are
>>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>>> apply them.
>>>>
>>>> Regards
>>>> Lars
>>>>
>>>>
>>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>>> Hi,
>>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>>> and if you want you can provide patch so that other guys can benefit from
>>>>> your work. :-)
>>>>> Regards
>>>>> Freeman
>>>>>
>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>
>>>>>> Hello Freemann
>>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>>> SNMP over WebServices inside a ESB.
>>>>>> OK, I hope my intention is more clear.
>>>>>> Kind regards
>>>>>> Joerg
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>>> Februar 2009 10:01
>>>>>> An: dev@servicemix.apache.org
>>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>>
>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>
>>>>>>>
>>>>>>> Hello servicemix guys,
>>>>>>>
>>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>>> startup?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> I'm not sure I understand what you want here.
>>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>>> cxf binding component which also support asynchronous communication.
>>>>>> Freeman
>>>>>>
>>>>>>>
>>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>>> response?
>>>>>>>
>>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>>> Joerg
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://lhein.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
Ah, ok...now you clarified it ;)
The tutorial you are doing is not up2date so you may have several problems.
Just search the mailing list/forum or ask here if you run into serious problems.

Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> Confusion was not my intention!
> I want to speak from within the ESB to/with SNMP agents outside the ESB via the SNMP-BC!
> I'm just working along the servicemix HowTo:
> http://servicemix.apache.org/hello-world-bc.html
> And struggling with the exceptions.
> ... and our network, ... it was temporarily down.
> Cheers Joerg
>
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 13:05
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> I am getting confused it seems.
> You want to control stuff inside the ESB via SNMP from outside the ESB?
> If yes then you should consider using a SNMP to JMX bridge. I think
> there is already something
> like this available, but don't ask me about details.
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
>> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>>
>> So, if you can support me with servicemix things, it would be great ;-)
>> Cheers Joerg
>>
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 11:41
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Joerg,
>>
>> in my example I only use UDP/TCP for grabbing the values from a snmp
>> enabled device.
>> It seems to me now that you want to use a cxf webservice to do actions
>> on a snmp agent. Never did that before but is it really needed to use
>> a webservice for that? I fear I have to read some detailed spec about
>> this topic first before further discussing that ;)
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>> Hi Lars,
>>> Thanks for your response,
>>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>>> SnmpManager, SnmpManagerListener(for async com)
>>> SnmpTrapListener and a optional SnmpTrapRouter.
>>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>>> Does this help to understand?
>>> Cheers
>>> joerg
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> Joerg,
>>>
>>> I am not sure if I got what you intend to do.
>>> It seems to me that you are working on some kind of SNMP - Webservice
>>> bridge, right?
>>> Maybe you could explain to us a bit more detailed what exactly has to
>>> be done to have support for receiving traps or doing GETS ?
>>> I am not that familiar with the snmp protocol so I only did this
>>> simple OID polling.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>>
>>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>>> Hi Lars,
>>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>>
>>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>>
>>>> Kind regrads
>>>> joerg
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>>
>>>> I agree.
>>>>
>>>> Jörg, it would be good to extend the existing servicemix component. If
>>>> you are willed to share your work with the community then you are
>>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>>> apply them.
>>>>
>>>> Regards
>>>> Lars
>>>>
>>>>
>>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>>> Hi,
>>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>>> and if you want you can provide patch so that other guys can benefit from
>>>>> your work. :-)
>>>>> Regards
>>>>> Freeman
>>>>>
>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>
>>>>>> Hello Freemann
>>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>>> SNMP over WebServices inside a ESB.
>>>>>> OK, I hope my intention is more clear.
>>>>>> Kind regards
>>>>>> Joerg
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>>> Februar 2009 10:01
>>>>>> An: dev@servicemix.apache.org
>>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>>
>>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>>
>>>>>>>
>>>>>>> Hello servicemix guys,
>>>>>>>
>>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>>> startup?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> I'm not sure I understand what you want here.
>>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>>> cxf binding component which also support asynchronous communication.
>>>>>> Freeman
>>>>>>
>>>>>>>
>>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>>> response?
>>>>>>>
>>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>>> Joerg
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> http://lhein.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hi Lars,
Confusion was not my intention! 
I want to speak from within the ESB to/with SNMP agents outside the ESB via the SNMP-BC!
I'm just working along the servicemix HowTo:
http://servicemix.apache.org/hello-world-bc.html
And struggling with the exceptions.
... and our network, ... it was temporarily down.
Cheers Joerg


-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 13:05
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

I am getting confused it seems.
You want to control stuff inside the ESB via SNMP from outside the ESB?
If yes then you should consider using a SNMP to JMX bridge. I think
there is already something
like this available, but don't ask me about details.

Regards
Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>
> So, if you can support me with servicemix things, it would be great ;-)
> Cheers Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 11:41
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Joerg,
>
> in my example I only use UDP/TCP for grabbing the values from a snmp
> enabled device.
> It seems to me now that you want to use a cxf webservice to do actions
> on a snmp agent. Never did that before but is it really needed to use
> a webservice for that? I fear I have to read some detailed spec about
> this topic first before further discussing that ;)
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> Thanks for your response,
>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>> SnmpManager, SnmpManagerListener(for async com)
>> SnmpTrapListener and a optional SnmpTrapRouter.
>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>> Does this help to understand?
>> Cheers
>> joerg
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Joerg,
>>
>> I am not sure if I got what you intend to do.
>> It seems to me that you are working on some kind of SNMP - Webservice
>> bridge, right?
>> Maybe you could explain to us a bit more detailed what exactly has to
>> be done to have support for receiving traps or doing GETS ?
>> I am not that familiar with the snmp protocol so I only did this
>> simple OID polling.
>>
>> Regards
>> Lars
>>
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>> Hi Lars,
>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>
>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>
>>> Kind regrads
>>> joerg
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> I agree.
>>>
>>> Jörg, it would be good to extend the existing servicemix component. If
>>> you are willed to share your work with the community then you are
>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>> apply them.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>> Hi,
>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>> and if you want you can provide patch so that other guys can benefit from
>>>> your work. :-)
>>>> Regards
>>>> Freeman
>>>>
>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>
>>>>> Hello Freemann
>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>> SNMP over WebServices inside a ESB.
>>>>> OK, I hope my intention is more clear.
>>>>> Kind regards
>>>>> Joerg
>>>>>
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>> Februar 2009 10:01
>>>>> An: dev@servicemix.apache.org
>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>
>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>
>>>>>>
>>>>>> Hello servicemix guys,
>>>>>>
>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>> startup?
>>>>>>
>>>>>>
>>>>>
>>>>> I'm not sure I understand what you want here.
>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>> cxf binding component which also support asynchronous communication.
>>>>> Freeman
>>>>>
>>>>>>
>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>> response?
>>>>>>
>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>> Joerg
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
I am getting confused it seems.
You want to control stuff inside the ESB via SNMP from outside the ESB?
If yes then you should consider using a SNMP to JMX bridge. I think
there is already something
like this available, but don't ask me about details.

Regards
Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality.
> The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).
>
> So, if you can support me with servicemix things, it would be great ;-)
> Cheers Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 11:41
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Joerg,
>
> in my example I only use UDP/TCP for grabbing the values from a snmp
> enabled device.
> It seems to me now that you want to use a cxf webservice to do actions
> on a snmp agent. Never did that before but is it really needed to use
> a webservice for that? I fear I have to read some detailed spec about
> this topic first before further discussing that ;)
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> Thanks for your response,
>> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
>> SnmpManager, SnmpManagerListener(for async com)
>> SnmpTrapListener and a optional SnmpTrapRouter.
>> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
>> Does this help to understand?
>> Cheers
>> joerg
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 11:14
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Joerg,
>>
>> I am not sure if I got what you intend to do.
>> It seems to me that you are working on some kind of SNMP - Webservice
>> bridge, right?
>> Maybe you could explain to us a bit more detailed what exactly has to
>> be done to have support for receiving traps or doing GETS ?
>> I am not that familiar with the snmp protocol so I only did this
>> simple OID polling.
>>
>> Regards
>> Lars
>>
>>
>>
>> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>>> Hi Lars,
>>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>>
>>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>>
>>> Kind regrads
>>> joerg
>>> -----Ursprüngliche Nachricht-----
>>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: AW: SMX3.3 Writing a BC
>>>
>>> I agree.
>>>
>>> Jörg, it would be good to extend the existing servicemix component. If
>>> you are willed to share your work with the community then you are
>>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>>> apply them.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>>> Hi,
>>>> Then I think the better way is add features based on the currrent snmp bc,
>>>> and if you want you can provide patch so that other guys can benefit from
>>>> your work. :-)
>>>> Regards
>>>> Freeman
>>>>
>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>
>>>>> Hello Freemann
>>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>>> SNMP over WebServices inside a ESB.
>>>>> OK, I hope my intention is more clear.
>>>>> Kind regards
>>>>> Joerg
>>>>>
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>>> Februar 2009 10:01
>>>>> An: dev@servicemix.apache.org
>>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>>
>>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>>
>>>>>>
>>>>>> Hello servicemix guys,
>>>>>>
>>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>>> startup?
>>>>>>
>>>>>>
>>>>>
>>>>> I'm not sure I understand what you want here.
>>>>> May I ask why you need write a Binding Component yourself, we already have
>>>>> cxf binding component which also support asynchronous communication.
>>>>> Freeman
>>>>>
>>>>>>
>>>>>> In the second step, I want to provide asynchronous communication to the
>>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>>> response?
>>>>>>
>>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>>> Joerg
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hi Lars,
yes you are right. My intention is to wrap the SNMP manager interface (i.e. snmp4j) inside the BC, to have full access over ESB components to any SNMP target elements. Further on, it is possible to create some SE's to map some higher level services to individual SNMP agent elements, each with it's own MIB describing the functionality. 
The alternative would be, to do it in a external process and connect such adaption processes via this SNMP-WebServices over JMS queues and a topic (for traps) to the ESB. (... this is, what I have done before).

So, if you can support me with servicemix things, it would be great ;-)
Cheers Joerg

-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 11:41
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

Joerg,

in my example I only use UDP/TCP for grabbing the values from a snmp
enabled device.
It seems to me now that you want to use a cxf webservice to do actions
on a snmp agent. Never did that before but is it really needed to use
a webservice for that? I fear I have to read some detailed spec about
this topic first before further discussing that ;)

Regards
Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> Thanks for your response,
> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
> SnmpManager, SnmpManagerListener(for async com)
> SnmpTrapListener and a optional SnmpTrapRouter.
> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
> Does this help to understand?
> Cheers
> joerg
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 11:14
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Joerg,
>
> I am not sure if I got what you intend to do.
> It seems to me that you are working on some kind of SNMP - Webservice
> bridge, right?
> Maybe you could explain to us a bit more detailed what exactly has to
> be done to have support for receiving traps or doing GETS ?
> I am not that familiar with the snmp protocol so I only did this
> simple OID polling.
>
> Regards
> Lars
>
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>
>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>
>> Kind regrads
>> joerg
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> I agree.
>>
>> Jörg, it would be good to extend the existing servicemix component. If
>> you are willed to share your work with the community then you are
>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>> apply them.
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>> Hi,
>>> Then I think the better way is add features based on the currrent snmp bc,
>>> and if you want you can provide patch so that other guys can benefit from
>>> your work. :-)
>>> Regards
>>> Freeman
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>
>>>> Hello Freemann
>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>> SNMP over WebServices inside a ESB.
>>>> OK, I hope my intention is more clear.
>>>> Kind regards
>>>> Joerg
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>> Februar 2009 10:01
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>
>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>
>>>>>
>>>>> Hello servicemix guys,
>>>>>
>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>> startup?
>>>>>
>>>>>
>>>>
>>>> I'm not sure I understand what you want here.
>>>> May I ask why you need write a Binding Component yourself, we already have
>>>> cxf binding component which also support asynchronous communication.
>>>> Freeman
>>>>
>>>>>
>>>>> In the second step, I want to provide asynchronous communication to the
>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>> response?
>>>>>
>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>> Joerg
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
Joerg,

in my example I only use UDP/TCP for grabbing the values from a snmp
enabled device.
It seems to me now that you want to use a cxf webservice to do actions
on a snmp agent. Never did that before but is it really needed to use
a webservice for that? I fear I have to read some detailed spec about
this topic first before further discussing that ;)

Regards
Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> Thanks for your response,
> OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
> SnmpManager, SnmpManagerListener(for async com)
> SnmpTrapListener and a optional SnmpTrapRouter.
> So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
> Does this help to understand?
> Cheers
> joerg
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 11:14
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Joerg,
>
> I am not sure if I got what you intend to do.
> It seems to me that you are working on some kind of SNMP - Webservice
> bridge, right?
> Maybe you could explain to us a bit more detailed what exactly has to
> be done to have support for receiving traps or doing GETS ?
> I am not that familiar with the snmp protocol so I only did this
> simple OID polling.
>
> Regards
> Lars
>
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hi Lars,
>> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>>
>> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>>
>> Kind regrads
>> joerg
>> -----Ursprüngliche Nachricht-----
>> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
>> Gesendet: Donnerstag, 5. Februar 2009 10:45
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> I agree.
>>
>> Jörg, it would be good to extend the existing servicemix component. If
>> you are willed to share your work with the community then you are
>> welcome to submit patches for servicemix-snmp bc. I would be happy to
>> apply them.
>>
>> Regards
>> Lars
>>
>>
>> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>>> Hi,
>>> Then I think the better way is add features based on the currrent snmp bc,
>>> and if you want you can provide patch so that other guys can benefit from
>>> your work. :-)
>>> Regards
>>> Freeman
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>
>>>> Hello Freemann
>>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>>> SNMP over WebServices inside a ESB.
>>>> OK, I hope my intention is more clear.
>>>> Kind regards
>>>> Joerg
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>>> Februar 2009 10:01
>>>> An: dev@servicemix.apache.org
>>>> Betreff: Re: SMX3.3 Writing a BC
>>>>
>>>> Hubschneider Joerg (CI/TMP) wrote:
>>>>
>>>>>
>>>>> Hello servicemix guys,
>>>>>
>>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>>> startup?
>>>>>
>>>>>
>>>>
>>>> I'm not sure I understand what you want here.
>>>> May I ask why you need write a Binding Component yourself, we already have
>>>> cxf binding component which also support asynchronous communication.
>>>> Freeman
>>>>
>>>>>
>>>>> In the second step, I want to provide asynchronous communication to the
>>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>>> response?
>>>>>
>>>>> Thanks for any ideas to such kind of (real world) playground.
>>>>> Joerg
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hi Lars,
Thanks for your response,
OK: I have setup the SNMP data types schemas xsd for the SMI data types and SNMP Manager data structure (VariableBinding, PDU, Traget) related to the snmp4j framework.  Then I have setup the WSDLs:
SnmpManager, SnmpManagerListener(for async com)
SnmpTrapListener and a optional SnmpTrapRouter.
So in the first step I want to start with the SnmpManager to create simple SNMP GET or SET actions to a target SNMP agent. So the next step would be to replace the un-/marshalling from your example by cxf functionality. Therfor I have set up a cxf-se-wsdl-first SU maven module. Now I am just on the way to put it together.
Does this help to understand?
Cheers
joerg
-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 11:14
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

Joerg,

I am not sure if I got what you intend to do.
It seems to me that you are working on some kind of SNMP - Webservice
bridge, right?
Maybe you could explain to us a bit more detailed what exactly has to
be done to have support for receiving traps or doing GETS ?
I am not that familiar with the snmp protocol so I only did this
simple OID polling.

Regards
Lars



2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>
> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>
> Kind regrads
> joerg
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 10:45
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> I agree.
>
> Jörg, it would be good to extend the existing servicemix component. If
> you are willed to share your work with the community then you are
> welcome to submit patches for servicemix-snmp bc. I would be happy to
> apply them.
>
> Regards
> Lars
>
>
> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>> Hi,
>> Then I think the better way is add features based on the currrent snmp bc,
>> and if you want you can provide patch so that other guys can benefit from
>> your work. :-)
>> Regards
>> Freeman
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>> Hello Freemann
>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>> SNMP over WebServices inside a ESB.
>>> OK, I hope my intention is more clear.
>>> Kind regards
>>> Joerg
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>> Februar 2009 10:01
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: SMX3.3 Writing a BC
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>>>
>>>> Hello servicemix guys,
>>>>
>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>> startup?
>>>>
>>>>
>>>
>>> I'm not sure I understand what you want here.
>>> May I ask why you need write a Binding Component yourself, we already have
>>> cxf binding component which also support asynchronous communication.
>>> Freeman
>>>
>>>>
>>>> In the second step, I want to provide asynchronous communication to the
>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>> response?
>>>>
>>>> Thanks for any ideas to such kind of (real world) playground.
>>>> Joerg
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
Joerg,

I am not sure if I got what you intend to do.
It seems to me that you are working on some kind of SNMP - Webservice
bridge, right?
Maybe you could explain to us a bit more detailed what exactly has to
be done to have support for receiving traps or doing GETS ?
I am not that familiar with the snmp protocol so I only did this
simple OID polling.

Regards
Lars



2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hi Lars,
> I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:
>
> Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation?
>
> Kind regrads
> joerg
> -----Ursprüngliche Nachricht-----
> Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
> Gesendet: Donnerstag, 5. Februar 2009 10:45
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> I agree.
>
> Jörg, it would be good to extend the existing servicemix component. If
> you are willed to share your work with the community then you are
> welcome to submit patches for servicemix-snmp bc. I would be happy to
> apply them.
>
> Regards
> Lars
>
>
> 2009/2/5 Freeman Fang <fr...@gmail.com>:
>> Hi,
>> Then I think the better way is add features based on the currrent snmp bc,
>> and if you want you can provide patch so that other guys can benefit from
>> your work. :-)
>> Regards
>> Freeman
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>> Hello Freemann
>>> Thanks for your response. OK, I want to provide a fully featured SNMP
>>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>>> SNMP over WebServices inside a ESB.
>>> OK, I hope my intention is more clear.
>>> Kind regards
>>> Joerg
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>>> Februar 2009 10:01
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: SMX3.3 Writing a BC
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>>>
>>>> Hello servicemix guys,
>>>>
>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>> provider. Is there a nice example which helps a newbie for a rapid
>>>> startup?
>>>>
>>>>
>>>
>>> I'm not sure I understand what you want here.
>>> May I ask why you need write a Binding Component yourself, we already have
>>> cxf binding component which also support asynchronous communication.
>>> Freeman
>>>
>>>>
>>>> In the second step, I want to provide asynchronous communication to the
>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>> response?
>>>>
>>>> Thanks for any ideas to such kind of (real world) playground.
>>>> Joerg
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hi Lars,
I'm glad to meet you servicemix guys. My problem is, that I am new to servicemix with experience only based on apache-cxf services and I have now to digg inside the servicemix framework. So my next simple question is:

Can I directly extent my "SnmpManagerWsImpl" from ProviderEndPoint by adding the necessary constructors and register it at the "smx-arch bc" created MyComponent implementation? 

Kind regrads
joerg
-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 10:45
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

I agree.

Jörg, it would be good to extend the existing servicemix component. If
you are willed to share your work with the community then you are
welcome to submit patches for servicemix-snmp bc. I would be happy to
apply them.

Regards
Lars


2009/2/5 Freeman Fang <fr...@gmail.com>:
> Hi,
> Then I think the better way is add features based on the currrent snmp bc,
> and if you want you can provide patch so that other guys can benefit from
> your work. :-)
> Regards
> Freeman
>
> Hubschneider Joerg (CI/TMP) wrote:
>>
>> Hello Freemann
>> Thanks for your response. OK, I want to provide a fully featured SNMP
>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>> SNMP over WebServices inside a ESB.
>> OK, I hope my intention is more clear.
>> Kind regards
>> Joerg
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>> Februar 2009 10:01
>> An: dev@servicemix.apache.org
>> Betreff: Re: SMX3.3 Writing a BC
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>
>>>
>>> Hello servicemix guys,
>>>
>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>> provider. Is there a nice example which helps a newbie for a rapid
>>> startup?
>>>
>>>
>>
>> I'm not sure I understand what you want here.
>> May I ask why you need write a Binding Component yourself, we already have
>> cxf binding component which also support asynchronous communication.
>> Freeman
>>
>>>
>>> In the second step, I want to provide asynchronous communication to the
>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>> async BC provider side for a BC callback to a dynamically created  (..
>>> or pooled) SE "Listener" interface/portType consumer at the async
>>> response?
>>>
>>> Thanks for any ideas to such kind of (real world) playground.
>>> Joerg
>>>
>>>
>>>
>>
>>
>>
>
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
I agree.

Jörg, it would be good to extend the existing servicemix component. If
you are willed to share your work with the community then you are
welcome to submit patches for servicemix-snmp bc. I would be happy to
apply them.

Regards
Lars


2009/2/5 Freeman Fang <fr...@gmail.com>:
> Hi,
> Then I think the better way is add features based on the currrent snmp bc,
> and if you want you can provide patch so that other guys can benefit from
> your work. :-)
> Regards
> Freeman
>
> Hubschneider Joerg (CI/TMP) wrote:
>>
>> Hello Freemann
>> Thanks for your response. OK, I want to provide a fully featured SNMP
>> protocoll BC. I have taken a look to the existent snmp-bc from Lars
>> Heinemann, which is a OID polling component. If I want to support SNMP  GET
>> (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps,
>> I have to set up the appropriated SNMP schemas and WSDLs for full featured
>> SNMP over WebServices inside a ESB.
>> OK, I hope my intention is more clear.
>> Kind regards
>> Joerg
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Freeman Fang [mailto:freeman.fang@gmail.com] Gesendet: Donnerstag, 5.
>> Februar 2009 10:01
>> An: dev@servicemix.apache.org
>> Betreff: Re: SMX3.3 Writing a BC
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>
>>>
>>> Hello servicemix guys,
>>>
>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>> provider. Is there a nice example which helps a newbie for a rapid
>>> startup?
>>>
>>>
>>
>> I'm not sure I understand what you want here.
>> May I ask why you need write a Binding Component yourself, we already have
>> cxf binding component which also support asynchronous communication.
>> Freeman
>>
>>>
>>> In the second step, I want to provide asynchronous communication to the
>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>> async BC provider side for a BC callback to a dynamically created  (..
>>> or pooled) SE "Listener" interface/portType consumer at the async
>>> response?
>>>
>>> Thanks for any ideas to such kind of (real world) playground.
>>> Joerg
>>>
>>>
>>>
>>
>>
>>
>
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Oh yeah!
Thanks for your kindly offer.
Cheers joerg
-----Ursprüngliche Nachricht-----
Von: lhein.smx@googlemail.com [mailto:lhein.smx@googlemail.com] Im Auftrag von Lars Heinemann
Gesendet: Donnerstag, 5. Februar 2009 11:00
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

answer = ask ;)


2009/2/5 Lars Heinemann <lh...@apache.org>:
> Jörg,
>
> don't hesitate to answer questions here. We will try to help as much
> as possible.
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hello Freeman,
>> You may be right, but at the moment I first have to come up  at the more technical way and have to exercise some realization patterns in the servicemix environment. So at the moment I study the source to see what options I have to  do the things in the right way.
>> Cheers
>> Joerg
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
>> Gesendet: Donnerstag, 5. Februar 2009 10:31
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Hi,
>> Then I think the better way is add features based on the currrent snmp
>> bc, and if you want you can provide patch so that other guys can benefit
>> from your work. :-)
>> Regards
>> Freeman
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>> Hello Freemann
>>> Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
>>> OK, I hope my intention is more clear.
>>> Kind regards
>>> Joerg
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
>>> Gesendet: Donnerstag, 5. Februar 2009 10:01
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: SMX3.3 Writing a BC
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>>> Hello servicemix guys,
>>>>
>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>> provider.
>>>> Is there a nice example which helps a newbie for a rapid startup?
>>>>
>>>>
>>>>
>>> I'm not sure I understand what you want here.
>>> May I ask why you need write a Binding Component yourself, we already
>>> have cxf binding component which also support asynchronous communication.
>>> Freeman
>>>
>>>> In the second step, I want to provide asynchronous communication to the
>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>> response?
>>>>
>>>> Thanks for any ideas to such kind of (real world) playground.
>>>> Joerg
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
answer = ask ;)


2009/2/5 Lars Heinemann <lh...@apache.org>:
> Jörg,
>
> don't hesitate to answer questions here. We will try to help as much
> as possible.
>
> Regards
> Lars
>
>
> 2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
>> Hello Freeman,
>> You may be right, but at the moment I first have to come up  at the more technical way and have to exercise some realization patterns in the servicemix environment. So at the moment I study the source to see what options I have to  do the things in the right way.
>> Cheers
>> Joerg
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
>> Gesendet: Donnerstag, 5. Februar 2009 10:31
>> An: dev@servicemix.apache.org
>> Betreff: Re: AW: SMX3.3 Writing a BC
>>
>> Hi,
>> Then I think the better way is add features based on the currrent snmp
>> bc, and if you want you can provide patch so that other guys can benefit
>> from your work. :-)
>> Regards
>> Freeman
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>> Hello Freemann
>>> Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
>>> OK, I hope my intention is more clear.
>>> Kind regards
>>> Joerg
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
>>> Gesendet: Donnerstag, 5. Februar 2009 10:01
>>> An: dev@servicemix.apache.org
>>> Betreff: Re: SMX3.3 Writing a BC
>>>
>>> Hubschneider Joerg (CI/TMP) wrote:
>>>
>>>> Hello servicemix guys,
>>>>
>>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>>> provider.
>>>> Is there a nice example which helps a newbie for a rapid startup?
>>>>
>>>>
>>>>
>>> I'm not sure I understand what you want here.
>>> May I ask why you need write a Binding Component yourself, we already
>>> have cxf binding component which also support asynchronous communication.
>>> Freeman
>>>
>>>> In the second step, I want to provide asynchronous communication to the
>>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>>> async BC provider side for a BC callback to a dynamically created  (..
>>>> or pooled) SE "Listener" interface/portType consumer at the async
>>>> response?
>>>>
>>>> Thanks for any ideas to such kind of (real world) playground.
>>>> Joerg
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> http://lhein.blogspot.com
>



-- 
http://lhein.blogspot.com

Re: AW: SMX3.3 Writing a BC

Posted by Lars Heinemann <lh...@apache.org>.
Jörg,

don't hesitate to answer questions here. We will try to help as much
as possible.

Regards
Lars


2009/2/5 Hubschneider Joerg (CI/TMP) <Jo...@de.bosch.com>:
> Hello Freeman,
> You may be right, but at the moment I first have to come up  at the more technical way and have to exercise some realization patterns in the servicemix environment. So at the moment I study the source to see what options I have to  do the things in the right way.
> Cheers
> Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
> Gesendet: Donnerstag, 5. Februar 2009 10:31
> An: dev@servicemix.apache.org
> Betreff: Re: AW: SMX3.3 Writing a BC
>
> Hi,
> Then I think the better way is add features based on the currrent snmp
> bc, and if you want you can provide patch so that other guys can benefit
> from your work. :-)
> Regards
> Freeman
>
> Hubschneider Joerg (CI/TMP) wrote:
>> Hello Freemann
>> Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
>> OK, I hope my intention is more clear.
>> Kind regards
>> Joerg
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Freeman Fang [mailto:freeman.fang@gmail.com]
>> Gesendet: Donnerstag, 5. Februar 2009 10:01
>> An: dev@servicemix.apache.org
>> Betreff: Re: SMX3.3 Writing a BC
>>
>> Hubschneider Joerg (CI/TMP) wrote:
>>
>>> Hello servicemix guys,
>>>
>>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>>> provider.
>>> Is there a nice example which helps a newbie for a rapid startup?
>>>
>>>
>>>
>> I'm not sure I understand what you want here.
>> May I ask why you need write a Binding Component yourself, we already
>> have cxf binding component which also support asynchronous communication.
>> Freeman
>>
>>> In the second step, I want to provide asynchronous communication to the
>>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>>> async BC provider side for a BC callback to a dynamically created  (..
>>> or pooled) SE "Listener" interface/portType consumer at the async
>>> response?
>>>
>>> Thanks for any ideas to such kind of (real world) playground.
>>> Joerg
>>>
>>>
>>>
>>>
>>
>>
>>
>
>



-- 
http://lhein.blogspot.com

AW: AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hello Freeman,
You may be right, but at the moment I first have to come up  at the more technical way and have to exercise some realization patterns in the servicemix environment. So at the moment I study the source to see what options I have to  do the things in the right way.
Cheers
Joerg

-----Ursprüngliche Nachricht-----
Von: Freeman Fang [mailto:freeman.fang@gmail.com] 
Gesendet: Donnerstag, 5. Februar 2009 10:31
An: dev@servicemix.apache.org
Betreff: Re: AW: SMX3.3 Writing a BC

Hi,
Then I think the better way is add features based on the currrent snmp 
bc, and if you want you can provide patch so that other guys can benefit 
from your work. :-)
Regards
Freeman

Hubschneider Joerg (CI/TMP) wrote:
> Hello Freemann
> Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
> OK, I hope my intention is more clear.
> Kind regards
> Joerg
>
>
> -----Ursprüngliche Nachricht-----
> Von: Freeman Fang [mailto:freeman.fang@gmail.com] 
> Gesendet: Donnerstag, 5. Februar 2009 10:01
> An: dev@servicemix.apache.org
> Betreff: Re: SMX3.3 Writing a BC
>
> Hubschneider Joerg (CI/TMP) wrote:
>   
>> Hello servicemix guys,
>>
>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>> provider. 
>> Is there a nice example which helps a newbie for a rapid startup?
>>
>>   
>>     
> I'm not sure I understand what you want here.
> May I ask why you need write a Binding Component yourself, we already 
> have cxf binding component which also support asynchronous communication.
> Freeman
>   
>> In the second step, I want to provide asynchronous communication to the
>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>> async BC provider side for a BC callback to a dynamically created  (..
>> or pooled) SE "Listener" interface/portType consumer at the async
>> response?
>>
>> Thanks for any ideas to such kind of (real world) playground.
>> Joerg
>>
>>
>>   
>>     
>
>
>   


Re: AW: SMX3.3 Writing a BC

Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Then I think the better way is add features based on the currrent snmp 
bc, and if you want you can provide patch so that other guys can benefit 
from your work. :-)
Regards
Freeman

Hubschneider Joerg (CI/TMP) wrote:
> Hello Freemann
> Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
> OK, I hope my intention is more clear.
> Kind regards
> Joerg
>
>
> -----Ursprüngliche Nachricht-----
> Von: Freeman Fang [mailto:freeman.fang@gmail.com] 
> Gesendet: Donnerstag, 5. Februar 2009 10:01
> An: dev@servicemix.apache.org
> Betreff: Re: SMX3.3 Writing a BC
>
> Hubschneider Joerg (CI/TMP) wrote:
>   
>> Hello servicemix guys,
>>
>> I want to write a Binding Component with a cxf-se-wsdl-first SU
>> provider. 
>> Is there a nice example which helps a newbie for a rapid startup?
>>
>>   
>>     
> I'm not sure I understand what you want here.
> May I ask why you need write a Binding Component yourself, we already 
> have cxf binding component which also support asynchronous communication.
> Freeman
>   
>> In the second step, I want to provide asynchronous communication to the
>> BC. Is there a useful pattern to identify a SE consumer at the enriched
>> async BC provider side for a BC callback to a dynamically created  (..
>> or pooled) SE "Listener" interface/portType consumer at the async
>> response?
>>
>> Thanks for any ideas to such kind of (real world) playground.
>> Joerg
>>
>>
>>   
>>     
>
>
>   


AW: SMX3.3 Writing a BC

Posted by "Hubschneider Joerg (CI/TMP)" <Jo...@de.bosch.com>.
Hello Freemann
Thanks for your response. OK, I want to provide a fully featured SNMP protocoll BC. I have taken a look to the existent snmp-bc from Lars Heinemann, which is a OID polling component. If I want to support SNMP  GET (GET_WALK GET_BULK..) and SET actions and in addition receiving SNMP traps, I have to set up the appropriated SNMP schemas and WSDLs for full featured SNMP over WebServices inside a ESB.
OK, I hope my intention is more clear.
Kind regards
Joerg


-----Ursprüngliche Nachricht-----
Von: Freeman Fang [mailto:freeman.fang@gmail.com] 
Gesendet: Donnerstag, 5. Februar 2009 10:01
An: dev@servicemix.apache.org
Betreff: Re: SMX3.3 Writing a BC

Hubschneider Joerg (CI/TMP) wrote:
> Hello servicemix guys,
>
> I want to write a Binding Component with a cxf-se-wsdl-first SU
> provider. 
> Is there a nice example which helps a newbie for a rapid startup?
>
>   
I'm not sure I understand what you want here.
May I ask why you need write a Binding Component yourself, we already 
have cxf binding component which also support asynchronous communication.
Freeman
> In the second step, I want to provide asynchronous communication to the
> BC. Is there a useful pattern to identify a SE consumer at the enriched
> async BC provider side for a BC callback to a dynamically created  (..
> or pooled) SE "Listener" interface/portType consumer at the async
> response?
>
> Thanks for any ideas to such kind of (real world) playground.
> Joerg
>
>
>