This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.oracle.coherence.demo; | |
import com.tangosol.net.CacheFactory; | |
import com.tangosol.net.NamedCache; | |
public class LerPIUsandoCoherence { | |
public static void main(String[] args) { | |
// Garante que este programa faça parte do grid... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.oracle.coherence.demo; | |
import com.tangosol.net.CacheFactory; | |
import com.tangosol.net.NamedCache; | |
public class GravarPIUsandoCoherence { | |
public static void main(String[] args) throws Exception { | |
// Garante que este programa faça parte do grid... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java version "1.6.0_14" | |
Java(TM) SE Runtime Environment (build 1.6.0_14-b08) | |
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode) | |
2011-03-14 16:16:30.998/1.531 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml" | |
2011-03-14 16:16:31.342/1.875 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml" | |
2011-03-14 16:16:31.357/1.890 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified | |
2011-03-14 16:16:31.373/1.906 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified | |
Oracle Coherence Version 3.7.0.0 Build 22913 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.oracle.coherence.demo; | |
import com.tangosol.net.CacheFactory; | |
import com.tangosol.net.NamedCache; | |
public class InserirClienteUsandoCoherence { | |
public static void main(String[] args) { | |
NamedCache clientes = CacheFactory.getCache("clientes"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.apama.card.offers; | |
monitor MerchantStoreService { | |
dictionary<string, sequence<MerchantStore> > merchantstores; | |
action onload() { | |
MerchantStore ms; | |
on all MerchantStore():ms { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.redhat.jboss.esb.demo; | |
import org.jboss.soa.esb.actions.annotation.Process; | |
import org.jboss.soa.esb.configure.ConfigProperty; | |
import org.jboss.soa.esb.message.Message; | |
public class MyLogger { | |
@ConfigProperty(name = "firstParam") | |
private String firstParam; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd" parameterReloadSecs="5"> | |
<providers> | |
<camel-provider name="Camel Provider"> | |
<camel-bus busid="camelGtw"> | |
<from uri="file:///home/rferreir/Temp/eai/entrada?delete=true" /> | |
</camel-bus> | |
</camel-provider> | |
</providers> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.redhat.jboss.esb.demo; | |
import org.jboss.soa.esb.actions.annotation.Process; | |
import org.jboss.soa.esb.configure.ConfigProperty; | |
import org.jboss.soa.esb.message.Message; | |
public class MyLogger { | |
@Process | |
public void log(Message message) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.3.0.xsd" parameterReloadSecs="5"> | |
<providers> | |
<camel-provider name="Camel Provider"> | |
<camel-bus busid="camelGtw"> | |
<from uri="file:///home/rferreir/Temp/eai/entrada?delete=true" /> | |
</camel-bus> | |
</camel-provider> | |
</providers> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties name="filters"> | |
<property name="org.jboss.soa.esb.filter.1" value="org.jboss.internal.soa.esb.message.filter.MetaDataFilter" /> | |
<property name="org.jboss.soa.esb.filter.2" value="org.jboss.internal.soa.esb.message.filter.GatewayFilter" /> | |
<property name="org.jboss.soa.esb.filter.3" value="com.redhat.jboss.esb.filter.GenericMessageLogger" /> | |
</properties> |