Skip to content

Instantly share code, notes, and snippets.

View cmoulliard's full-sized avatar
🏠
Working from home

Charles Moulliard cmoulliard

🏠
Working from home
View GitHub Profile
@cmoulliard
cmoulliard / KieNamespaceHandler.java
Created June 24, 2013 20:22
KieNameSpaceHandler
/*
* Copyright 2013 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@cmoulliard
cmoulliard / KieContainerElementParser.java
Created June 24, 2013 20:31
KieContainerElementParser
/*
* Copyright 2013 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
<definitions name='BlobWebServiceMTOM'
targetNamespace='http://spb.eu/BlobWebServiceMTOM'
xmlns='http://schemas.xmlsoap.org/wsdl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:tns='http://spb.eu/BlobWebServiceMTOM'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
<types>
<xs:schema targetNamespace='http://spb.eu/BlobWebServiceMTOM' version='1.0' xmlns:tns='http://spb.eu/BlobWebServiceMTOM' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:element name='BusinessException' type='tns:BusinessException'/>
<xs:element name='TechnicalException' type='tns:TechnicalException'/>
package eu.spb.poc.routing.blob;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.List;
import javax.activation.DataHandler;
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<bean id="plainAndSimple" class="org.jboss.fuse.training.jar.PlainAndSimple"
init-method="afterPropertiesSet" destroy-method="destroy">
<property name="simpleMessage" value="Hello CGI-SG Students"/>
</bean>
</blueprint>
@cmoulliard
cmoulliard / gist:6683302
Created September 24, 2013 11:14
Features to deploy OSGI Service
<!-- ServiceMix Exercises Client -->
<feature name="servicemix-exercise-osgi-client">
<feature>spring</feature>
<feature>spring-dm</feature>
<configfile finalname="/etc/greeterClient.cfg">file:///home/chmoulli/Repos/fuse/training/redhat-fuse-training-cgi/servicemix/servicemix-exercises-osgi-client/etc/greeterClient.cfg</configfile>
<bundle>mvn:org.jboss.fuse.training/servicemix-exercises-osgi-client/${pom.version}</bundle>
</feature>
<!-- ServiceMix Exercises Service -->
<feature name="servicemix-exercise-osgi-service">
mvn archetype:generate -DarchetypeGroupId=org.fusesource.fabric -DarchetypeArtifactId=camel-cxf-contract-first-archetype -DarchetypeVersion=7.2.0.redhat-024
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
xmlns:amq="http://activemq.apache.org/schema/core">
<manifest>
Export-Service = javax.jms.ConnectionFactory
</manifest>
<!-- Allows us to use system properties as variables in this configuration file -->
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
---
layout: default
title: test
documentationExpanded: false
postsExpanded: false
---
= Charles Writer's Guide
Mail to <ch007m@gmail.com>
:toc: